]> wimlib.net Git - wimlib/blobdiff - tools/make-windows-release
tools/make-windows-release: check existence of config.log before grepping it
[wimlib] / tools / make-windows-release
index b21551192a16778ec4f44a8c85ad745d00b89510..5c652cee87e3cde424d5e534fc5bb70ed1b0c85f 100755 (executable)
@@ -43,7 +43,8 @@ fi
 
 # Compile wimlib
 
-if ! grep -q "./configure --host=${ARCH}-w64-mingw32" config.log || \
+if ! [ -e config.log ] ||
+       ! grep -q "./configure --host=${ARCH}-w64-mingw32" config.log || \
        ! grep -q "configure: exit 0" config.log || \
        [ $# -gt 0 ]
 then