fix shell script for installing DLLs on MSYS2

This commit is contained in:
Garux 2018-02-08 03:46:36 +03:00
parent 57dc5a5dc8
commit 41da2918aa

View File

@ -13,7 +13,7 @@ fi
function dependencies_single_target_no_depth {
local TARGET=$1
local DEPENDENCIESFILTER="| grep 'DLL Name' | sed -r 's/\s+DLL\s+Name\:\s+//' | xargs -i{} which {} | grep $MINGWDIR/bin"
local DEPENDENCIESFILTER="| grep -a 'DLL Name' | sed -r 's/\s+DLL\s+Name\:\s+//' | xargs -i{} which {} | grep -a $MINGWDIR/bin"
local COMMAND="objdump -x $TARGET $DEPENDENCIESFILTER | xargs -i{} echo {}"
local DEPENDENCIES=`eval "$COMMAND"`