summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2008-09-29 22:47:07 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-09-29 22:47:07 +0200
commitf22f04f76beba755ed5fcc7385de7b366b71032c (patch)
tree5185240f14eae7151da3aac42f07b5376d008d38
parentc383e8d760b64cb25c93550876280b3c9fc33e5c (diff)
downloadsamba-f22f04f76beba755ed5fcc7385de7b366b71032c.tar.gz
samba-f22f04f76beba755ed5fcc7385de7b366b71032c.tar.bz2
samba-f22f04f76beba755ed5fcc7385de7b366b71032c.zip
Stop creating symlinks to libraries without sonames. (caused recursive
symlinks overwriting the original file).
-rwxr-xr-xsource4/script/installlib.sh4
1 files changed, 3 insertions, 1 deletions
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