diff options
Diffstat (limited to 'msys2-cross-configure.sh')
-rwxr-xr-x | msys2-cross-configure.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/msys2-cross-configure.sh b/msys2-cross-configure.sh index 602548e..848749a 100755 --- a/msys2-cross-configure.sh +++ b/msys2-cross-configure.sh @@ -33,6 +33,11 @@ fetch() { status Fetching "$name" [ -f "packages/$name" ] || curl -#o "packages/$name" "$repository/$name" done + + name=exiftool-$(curl -# https://exiftool.org/ver.txt).zip + status Fetching "$name" + [ -f "$name" ] || curl -#o "$name" "https://exiftool.org/$name" + ln -sf "$name" exiftool.zip } verify() { @@ -48,6 +53,8 @@ extract() { for i in packages/* do bsdtar -xf "$i" --strip-components 1 mingw64 done + + bsdtar -xOf exiftool.zip > bin/exiftool.exe } configure() { |