]> wimlib.net Git - wimlib/blobdiff - tools/make-windows-release
make-windows-release: allow *.cmd files to operate from paths w/ spaces
[wimlib] / tools / make-windows-release
index 3e3546d195150d603ae5e3ea2d4f4fc0dcd68ad9..1b80d31529eb72fda5ea713025ff17f2747b7fa4 100755 (executable)
@@ -112,7 +112,7 @@ for fil in ./doc/man1/wimlib-imagex-*.1; do
 
        sed 's/$/\r/g' > ${DESTDIR}/wim${cmd}.cmd <<- EOF
                @echo off
-               %~dp0\\wimlib-imagex $cmd %*
+               "%~dp0\\wimlib-imagex" $cmd %*
        EOF
        chmod +x ${DESTDIR}/wim${cmd}.cmd
 done