From 41da2918aab21a985e562d0dc9e686d6d9ed174b Mon Sep 17 00:00:00 2001 From: Garux Date: Thu, 8 Feb 2018 03:46:36 +0300 Subject: [PATCH] fix shell script for installing DLLs on MSYS2 --- install-dlls-msys2-mingw.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-dlls-msys2-mingw.sh b/install-dlls-msys2-mingw.sh index bae3b5d7..0814c23f 100644 --- a/install-dlls-msys2-mingw.sh +++ b/install-dlls-msys2-mingw.sh @@ -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"`