summaryrefslogtreecommitdiff
path: root/Ports/p7zip
diff options
context:
space:
mode:
Diffstat (limited to 'Ports/p7zip')
-rwxr-xr-xPorts/p7zip/package.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/Ports/p7zip/package.sh b/Ports/p7zip/package.sh
index 502b578f13..a8d9f66152 100755
--- a/Ports/p7zip/package.sh
+++ b/Ports/p7zip/package.sh
@@ -5,7 +5,7 @@ version="17.04"
useconfigure=true
auth_type=sha256
files="https://github.com/jinfeihan57/p7zip/archive/refs/tags/v${version}.tar.gz p7zip-${version}.tar.gz ea029a2e21d2d6ad0a156f6679bd66836204aa78148a4c5e498fe682e77127ef"
-configopts="-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt"
+configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt")
workdir=$port-$version/CPP
post_fetch() {
@@ -13,11 +13,11 @@ post_fetch() {
}
configure() {
- run cmake 7zip/CMAKE $configopts
+ run cmake 7zip/CMAKE "${configopts[@]}"
}
build() {
- run make $makeopts
+ run make "${makeopts[@]}"
}
install() {