From: Daniel P. Berrange <"Daniel P. Berrange "> Date: Wed, 10 Sep 2008 08:58:48 +0000 (-0400) Subject: Allow '.' in dll names for find-requires X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=d60d45ed33bdc8f61938b5fbc3abb6765e556a64;p=fedora-mingw.git Allow '.' in dll names for find-requires --- diff --git a/filesystem/mingw-find-requires.sh b/filesystem/mingw-find-requires.sh index 6516500..6b9848a 100755 --- a/filesystem/mingw-find-requires.sh +++ b/filesystem/mingw-find-requires.sh @@ -22,7 +22,7 @@ echo 'mingw-runtime' dlls=$(echo $filelist | tr [:blank:] '\n' | grep '\.dll$') for f in $dlls; do - $OBJDUMP -p $f | grep 'DLL Name' | grep -Eo '[-_[:alnum:]]+\.dll' | + $OBJDUMP -p $f | grep 'DLL Name' | grep -Eo '[-._[:alnum:]]+\.dll' | tr [:upper:] [:lower:] | sed 's/\(.*\)/mingw(\1)/' done | sort -u