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 # If the hash was given, a file with that hash may already be in the
# store. # store.
if -n "$expHash"; then if test -n "$expHash"; then
finalPath=$(nix-store --print-fixed-path --recursive "$hashType" "$expHash" git-export) finalPath=$(nix-store --print-fixed-path --recursive "$hashType" "$expHash" git-export)
if ! nix-store --check-validity "$finalPath" 2> /dev/null; then if ! nix-store --check-validity "$finalPath" 2> /dev/null; then
finalPath= finalPath=
@ -251,4 +251,4 @@ else
if test -n "$PRINT_PATH"; then if test -n "$PRINT_PATH"; then
echo $finalPath echo $finalPath
fi fi
fi fi