From 8e606466b39a1fa59802c56936a253c66a6b0a4b Mon Sep 17 00:00:00 2001 From: Florian Friesdorf Date: Wed, 22 Jun 2011 23:33:41 +0000 Subject: [PATCH] fetchgit builder - correctly quote "$rev" svn path=/nixpkgs/trunk/; revision=27531 --- pkgs/build-support/fetchgit/builder.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/build-support/fetchgit/builder.sh b/pkgs/build-support/fetchgit/builder.sh index 8d4e17f4a0e2..ed3af4a7ab61 100644 --- a/pkgs/build-support/fetchgit/builder.sh +++ b/pkgs/build-support/fetchgit/builder.sh @@ -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"