pkgs/applications/version-management/git-and-tools/git: be verbose when creating symlinks
The postInstall hook replaces identical copies of the same files in $out with symlinks. This patch changes the call to 'ln' to pass the '-v' flag so that we can see in the build log which files were replaced. svn path=/nixpkgs/trunk/; revision=25455
This commit is contained in:
parent
f989b670d6
commit
d0f409e009
@ -121,7 +121,7 @@ stdenv.mkDerivation rec {
|
|||||||
if [ -z "''\${seen["$sum"]}" ]; then
|
if [ -z "''\${seen["$sum"]}" ]; then
|
||||||
seen["$sum"]="$f"
|
seen["$sum"]="$f"
|
||||||
else
|
else
|
||||||
rm "$f"; ln -s "''\${seen["$sum"]}" "$f"
|
rm "$f"; ln -v -s "''\${seen["$sum"]}" "$f"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user