fetchgit builder - correctly quote "$rev"
svn path=/nixpkgs/trunk/; revision=27531
This commit is contained in:
parent
3496c064d8
commit
8e606466b3
@ -11,7 +11,7 @@ cd $out
|
|||||||
git remote add origin "$url"
|
git remote add origin "$url"
|
||||||
git fetch --progress origin
|
git fetch --progress origin
|
||||||
git remote set-head origin -a || (
|
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
|
if test -n "$rev"; then
|
||||||
echo "Trying to checkout: $rev"
|
echo "Trying to checkout: $rev"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user