Author: raskin
Date: Mon Aug 29 10:06:12 2011
New Revision: 28871
URL: https://svn.nixos.org/websvn/nix/?rev=28871&sc=1
Log:
Fix a typo
Modified:
nixpkgs/trunk/pkgs/build-support/fetchgit/nix-prefetch-git
Modified: nixpkgs/trunk/pkgs/build-support/fetchgit/nix-prefetch-git
==============================================================================
--- nixpkgs/trunk/pkgs/build-support/fetchgit/nix-prefetch-git Mon Aug 29
09:54:47 2011 (r28870)
+++ nixpkgs/trunk/pkgs/build-support/fetchgit/nix-prefetch-git Mon Aug 29
10:06:12 2011 (r28871)
@@ -210,7 +210,7 @@
# If the hash was given, a file with that hash may already be in the
# store.
- if -n "$expHash"; then
+ if test -n "$expHash"; then
finalPath=$(nix-store --print-fixed-path --recursive "$hashType"
"$expHash" git-export)
if ! nix-store --check-validity "$finalPath" 2> /dev/null; then
finalPath=
@@ -251,4 +251,4 @@
if test -n "$PRINT_PATH"; then
echo $finalPath
fi
-fi
\ No newline at end of file
+fi
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits