Do not copy dll(s) if already exist.

This commit is contained in:
dolphin6k 2022-02-10 20:02:08 +09:00
parent 4ec43dcff2
commit 6a414961b8

View file

@ -6,10 +6,12 @@ find_depends(){
dllname=`basename $dllpath` dllname=`basename $dllpath`
if ! grep -q $dllname dlllist; then if ! grep -q $dllname dlllist; then
echo $dllpath >> dlllist echo $dllpath >> dlllist
if [ ! -f $DESTDIR/$dllname ]; then
echo -n . echo -n .
cp $dllpath $DESTDIR/ cp $dllpath $DESTDIR/
find_depends $dllpath find_depends $dllpath
fi fi
fi
done done
} }