Scripts: Prevent paths interpreted as args

This commit is contained in:
Unrud
2022-06-05 14:06:37 +02:00
committed by Matthias Mailänder
parent ea02b90636
commit 7cd0d8c079

View File

@@ -78,7 +78,7 @@ function build_platform()
echo "Packaging zip archive ($1)"
pushd "${BUILTDIR}" > /dev/null
zip "OpenRA-${TAG}-${PLATFORM}-winportable.zip" -r -9 * --quiet
zip "OpenRA-${TAG}-${PLATFORM}-winportable.zip" -r -9 ./* --quiet
mv "OpenRA-${TAG}-${PLATFORM}-winportable.zip" "${OUTPUTDIR}"
popd > /dev/null