aboutsummaryrefslogtreecommitdiffstats
path: root/kerl
diff options
context:
space:
mode:
authorMotiejus Jakštys <[email protected]>2013-01-30 21:40:28 +0000
committerMotiejus Jakštys <[email protected]>2013-01-30 21:40:28 +0000
commita1d0af379cc254849585b2c184a68f1596368eba (patch)
treec5c0f1c538ec3261327a5407732fb628f8a0a8a9 /kerl
parent9e8a3e569a32b1c42ed4f61510cd1b7f74498921 (diff)
downloadkerl-a1d0af379cc254849585b2c184a68f1596368eba.tar.gz
kerl-a1d0af379cc254849585b2c184a68f1596368eba.tar.bz2
kerl-a1d0af379cc254849585b2c184a68f1596368eba.zip
Fix: do not hardcode origin/ to ref
This allows building tags and all other funny kinds of refs.
Diffstat (limited to 'kerl')
-rwxr-xr-xkerl2
1 files changed, 1 insertions, 1 deletions
diff --git a/kerl b/kerl
index 53543c5..0e101bf 100755
--- a/kerl
+++ b/kerl
@@ -260,7 +260,7 @@ do_git_build()
if [ $? -eq 0 ]; then
git checkout $2 > /dev/null 2>&1
else
- git checkout -b $2 origin/$2 > /dev/null 2>&1
+ git checkout -b $2 $2 > /dev/null 2>&1
fi
if [ $? -ne 0 ]; then
echo "Couldn't checkout specified version"