summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Lyngstol <kristian@bohemians.org>2007-05-18 21:13:00 +0200
committerKristian Lyngstol <kristian@bohemians.org>2007-05-18 21:13:00 +0200
commita8acde1d384cc877f1a035d42d64617a7342422e (patch)
tree66300b65c518a37dfe9fc1723f377b28cb68015b
parentb3485ff5d39bdf05742c93cdeb594d69e38d332b (diff)
downloadcompiz-scripts-a8acde1d384cc877f1a035d42d64617a7342422e.tar.gz
compiz-scripts-a8acde1d384cc877f1a035d42d64617a7342422e.tar.bz2
Use git-clone and git-pull instead of git clone and git pull
-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
}