summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmsys2-package.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/msys2-package.sh b/msys2-package.sh
index 27729bb..b929cbc 100755
--- a/msys2-package.sh
+++ b/msys2-package.sh
@@ -1,7 +1,8 @@
#!/bin/sh -e
export LC_ALL=C
cd "$MESON_BUILD_ROOT"
-arch=$1 msi=$2 files=package-files.wxs destdir=$(pwd)/package
+arch=$1 msi=$2 files=package-files.wxs
+destdir=$(pwd)/package/${msi%.*}
shift 2
# We're being passed host_machine.cpu(), which will be either x86 or x86_64.