3
0
Fork 0
forked from mirrors/nixpkgs

fetchgit builder - correctly quote "$rev"

svn path=/nixpkgs/trunk/; revision=27531
This commit is contained in:
Florian Friesdorf 2011-06-22 23:33:41 +00:00
parent 3496c064d8
commit 8e606466b3

View file

@ -11,7 +11,7 @@ cd $out
git remote add origin "$url"
git fetch --progress origin
git remote set-head origin -a || (
test -n $rev && echo "that's ok, we want $rev" || exit 1)
test -n "$rev" && echo "that's ok, we want $rev" || exit 1)
if test -n "$rev"; then
echo "Trying to checkout: $rev"