mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
Fix a typo
svn path=/nixpkgs/trunk/; revision=28871
This commit is contained in:
parent
6bd84d04a5
commit
f9728ee0db
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user