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,9 +6,11 @@ find_depends(){
dllname=`basename $dllpath`
if ! grep -q $dllname dlllist; then
echo $dllpath >> dlllist
echo -n .
cp $dllpath $DESTDIR/
find_depends $dllpath
if [ ! -f $DESTDIR/$dllname ]; then
echo -n .
cp $dllpath $DESTDIR/
find_depends $dllpath
fi
fi
done
}