mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 12:22:37 +03:00
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 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"
|
||||
|
Loading…
Reference in New Issue
Block a user