Do not copy dll(s) if already exist.
This commit is contained in:
parent
4ec43dcff2
commit
6a414961b8
1 changed files with 5 additions and 3 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue