From: Matthias Dieter Wallnöfer Date: Mon, 29 Sep 2008 20:47:07 +0000 (+0200) Subject: Stop creating symlinks to libraries without sonames. (caused recursive X-Git-Tag: samba-4.0.0alpha6~769^2~228^2~91^2~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f22f04f76beba755ed5fcc7385de7b366b71032c;p=thirdparty%2Fsamba.git Stop creating symlinks to libraries without sonames. (caused recursive symlinks overwriting the original file). --- diff --git a/source4/script/installlib.sh b/source4/script/installlib.sh index 962c9562b1b..cc9ff0b9eae 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