summaryrefslogtreecommitdiff
path: root/get-git
diff options
context:
space:
mode:
Diffstat (limited to 'get-git')
-rwxr-xr-xget-git10
1 files changed, 7 insertions, 3 deletions
diff --git a/get-git b/get-git
index 1480d02..bfc22b1 100755
--- a/get-git
+++ b/get-git
@@ -82,6 +82,10 @@ if [ -z "$(which git-clone)" ]; then
echo "You must have GIT installed to use this script. Install the git-core package."
exit 1;
fi
+if [ -z "$(which git-pull)" ]; then
+ echo "You must have GIT installed to use this script. Install the git-core package."
+ exit 1;
+fi
# Asks if we want to bail out.
function bail_ask
@@ -106,14 +110,14 @@ function get_repo
cd $b
echo "Updating $b";
if [ $SUPRESS = "true" ]; then
- git pull > /dev/null
+ git-pull > /dev/null
else
- git pull
+ git-pull
fi
cd $here
else
echo "Cloning $b";
- git clone $2$1
+ git-clone $2$1
fi
}