mirror of
https://github.com/vanhoefm/modwifi.git
synced 2024-12-18 21:37:50 +00:00
init.sh: use public protocol as default
This commit is contained in:
parent
c1a69b3948
commit
cd6be4c9c5
16
init.sh
16
init.sh
@ -1,8 +1,14 @@
|
||||
#!/bin/bash
|
||||
trap "killall background" EXIT
|
||||
git clone -b master git@github.com:vanhoefm/modwifi.git modwifi &
|
||||
git clone -b research git@github.com:vanhoefm/modwifi-linux.git linux &
|
||||
git clone -b research git@github.com:vanhoefm/modwifi-ath9k-htc.git ath9k-htc &
|
||||
git clone -b research git@github.com:vanhoefm/modwifi-backports.git backports &
|
||||
git clone -b master git@github.com:vanhoefm/modwifi-tools.git tools &
|
||||
|
||||
PROTOCOL="https://github.com/"
|
||||
if [[ $# -eq 1 ]]; then
|
||||
PROTOCOL="git@github.com:"
|
||||
fi
|
||||
|
||||
git clone -b master ${PROTOCOL}vanhoefm/modwifi.git modwifi &
|
||||
git clone -b research ${PROTOCOL}vanhoefm/modwifi-linux.git linux &
|
||||
git clone -b research ${PROTOCOL}vanhoefm/modwifi-ath9k-htc.git ath9k-htc &
|
||||
git clone -b research ${PROTOCOL}vanhoefm/modwifi-backports.git backports &
|
||||
git clone -b master ${PROTOCOL}vanhoefm/modwifi-tools.git tools &
|
||||
wait
|
||||
|
Loading…
Reference in New Issue
Block a user