From f22f04f76beba755ed5fcc7385de7b366b71032c Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Mon, 29 Sep 2008 22:47:07 +0200 Subject: Stop creating symlinks to libraries without sonames. (caused recursive symlinks overwriting the original file). --- source4/script/installlib.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source4/script') diff --git a/source4/script/installlib.sh b/source4/script/installlib.sh index 962c9562b1..cc9ff0b9ea 100755 --- a/source4/script/installlib.sh +++ b/source4/script/installlib.sh @@ -15,7 +15,9 @@ for p in $*; do mv $LIBDIR/$p2 $LIBDIR/$p2.old fi cp $p $LIBDIR/ - ln -sf $p2 $LIBDIR/$lnname + if [ $p2 != $lnname ]; then + ln -sf $p2 $LIBDIR/$lnname + fi done cat << EOF -- cgit