]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
Stop creating symlinks to libraries without sonames. (caused recursive
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
Mon, 29 Sep 2008 20:47:07 +0000 (22:47 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Mon, 29 Sep 2008 20:47:07 +0000 (22:47 +0200)
symlinks overwriting the original file).

source4/script/installlib.sh

index 962c9562b1b962b9490cdea74d18d7550c0e3535..cc9ff0b9eae2f39878193403be9d6fe5d50d15c7 100755 (executable)
@@ -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