diff options
author | Tim Schumacher <timschumi@gmx.de> | 2021-09-27 00:16:18 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-10-05 02:13:08 +0200 |
commit | c07f91474de4088c4eccd45ccc6883a515439d69 (patch) | |
tree | 19bdb4797935e826f638053ea8d4250bd453dd0a /Ports/p7zip | |
parent | e507cfcdb0cc3be9e8e3304952c81d4410e6b610 (diff) | |
download | serenity-c07f91474de4088c4eccd45ccc6883a515439d69.zip |
Ports: Make array-like settings actual arrays
We may need entries with spaces in makeopts, installopts, and
configopts, and at that point we should also convert depends and
auth_opts to avoid confusion.
Diffstat (limited to 'Ports/p7zip')
-rwxr-xr-x | Ports/p7zip/package.sh | 6 |
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() { |