3
0
Fork 0
forked from mirrors/nixpkgs

Fix a typo

svn path=/nixpkgs/trunk/; revision=28871
This commit is contained in:
Michael Raskin 2011-08-29 10:06:12 +00:00
parent 6bd84d04a5
commit f9728ee0db

View file

@ -210,7 +210,7 @@ else
# 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 @@ else
if test -n "$PRINT_PATH"; then
echo $finalPath
fi
fi
fi