diff options
author | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2008-09-29 22:47:07 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-09-29 22:47:07 +0200 |
commit | f22f04f76beba755ed5fcc7385de7b366b71032c (patch) | |
tree | 5185240f14eae7151da3aac42f07b5376d008d38 /source4/script | |
parent | c383e8d760b64cb25c93550876280b3c9fc33e5c (diff) | |
download | samba-f22f04f76beba755ed5fcc7385de7b366b71032c.tar.gz |
Stop creating symlinks to libraries without sonames. (caused recursive
symlinks overwriting the original file).
Diffstat (limited to 'source4/script')
-rwxr-xr-x | source4/script/installlib.sh | 4 |
1 files changed, 3 insertions, 1 deletions
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 |