diff --git a/tools/copydlldeps.sh b/tools/copydlldeps.sh index 1bc358a3..0f56fecc 100755 --- a/tools/copydlldeps.sh +++ b/tools/copydlldeps.sh @@ -82,7 +82,7 @@ Optional binary settings: -o, --objdump Specify the path or name of your objdump application -e, --enforcedir [ multiCall ] Enforce executable files and/or DLLs of a specific directory It will be entirely copied - flat, non recursive. assumes *.dll and *.exe in the top level directory - It will copy those into a directory in DESTDIR! + It will copy those into a directory in DESTDIR! e.g. /mxe/usr//qt5/plugins/platforms/ - for qwindows.dll becomes DESTDIR/platforms/ containing qwindows.dll Other options: @@ -238,8 +238,8 @@ fi if [ "$infile" ]; then for curFile in $( echo "${infile}" | tr -s ' ' | tr ' ' '\n' ); do if [ `uname -s` == "Darwin" ]; then - curString=$( find $curPath -iname *.exe -or -iname *.dll | tr '\n' ' ' ) - else curString=$( find $curPath -iregex '.*\(dll\|exe\)' | tr '\n' ' ' ) + curString=$( find $curFile -iname *.exe -or -iname *.dll | tr '\n' ' ' ) + else curString=$( find $curFile -iregex '.*\(dll\|exe\)' | tr '\n' ' ' ) fi str_inputFileList+=" $curString" done