sane module: make warning more explicit
This commit is contained in:
parent
6c651604f4
commit
4979541cad
@ -36,7 +36,7 @@ stdenv.mkDerivation {
|
|||||||
function symlink () {
|
function symlink () {
|
||||||
local target=$1 linkname=$2
|
local target=$1 linkname=$2
|
||||||
if [ -e "$linkname" ]; then
|
if [ -e "$linkname" ]; then
|
||||||
echo "warning: conflict for $linkname. Overriding."
|
echo "warning: conflict for $linkname. Overriding $(readlink $linkname) with $target."
|
||||||
fi
|
fi
|
||||||
ln -sfn "$target" "$linkname"
|
ln -sfn "$target" "$linkname"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user