forked from osmocom/wireshark
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:
parent
19470978ef
commit
9bd7d21dff
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue