Use http for github
This commit is contained in:
parent
b12ff63be0
commit
8392d6b841
|
@ -12,7 +12,7 @@
|
|||
SRC_DIR=$(cd $(dirname "$0") && pwd)
|
||||
|
||||
# Set up some defaults if grenaderc is not present
|
||||
GRENADE_REPO=git@github.com:nebula/grenade.git
|
||||
GRENADE_REPO=https://github.com/nebula/grenade.git
|
||||
GRENADE_DIR=$DEST/grenade
|
||||
GRENADE_BRANCH=master
|
||||
|
||||
|
@ -35,7 +35,7 @@ set -o xtrace
|
|||
ssh -t $DEST_USER@$HOST " \
|
||||
sudo mkdir -p $DEST; \
|
||||
[[ -w $DEST ]] || sudo chown `whoami` $DEST; \
|
||||
[[ -d $GRENADE_DIR ]] || git clone $GRENADE_REPO $GRENADE_DIR; \
|
||||
[[ -d $GRENADE_DIR ]] || (cd $DEST; git clone $GRENADE_REPO $GRENADE_DIR); \
|
||||
[[ -d $GRENADE_DIR ]] && (cd $GRENADE_DIR; git checkout $GRENADE_BRANCH); \
|
||||
"
|
||||
|
||||
|
|
Loading…
Reference in New Issue