Do not overwrite existing files when copying dependencies, as this will

overwrite the wireshark libs with libs installed in /opt/local, which is
probably not the ones we want.

svn path=/trunk/; revision=25483
This commit is contained in:
Stig Bjørlykke 2008-06-18 22:47:58 +00:00
parent 19470978ef
commit 9bd7d21dff
1 changed files with 1 additions and 1 deletions

View File

@ -302,7 +302,7 @@ lib_dep_search_list="
while $endl; do
echo -e "Looking for dependencies. Round" $a
libs="`otool -L $lib_dep_search_list 2>/dev/null | fgrep compatibility | cut -d\( -f1 | grep $LIBPREFIX | sort | uniq`"
cp -f $libs "$pkglib"
cp -vn $libs "$pkglib"
let "a+=1"
nnfiles=`ls "$pkglib" | wc -l`
if [ $nnfiles = $nfiles ]; then