summaryrefslogtreecommitdiff
path: root/Ports/vitetris/package.sh
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2021-09-27 00:16:18 +0200
committerAndreas Kling <kling@serenityos.org>2021-10-05 02:13:08 +0200
commitc07f91474de4088c4eccd45ccc6883a515439d69 (patch)
tree19bdb4797935e826f638053ea8d4250bd453dd0a /Ports/vitetris/package.sh
parente507cfcdb0cc3be9e8e3304952c81d4410e6b610 (diff)
downloadserenity-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/vitetris/package.sh')
-rwxr-xr-xPorts/vitetris/package.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/Ports/vitetris/package.sh b/Ports/vitetris/package.sh
index 4b16728205..b1b1bd5cc3 100755
--- a/Ports/vitetris/package.sh
+++ b/Ports/vitetris/package.sh
@@ -3,7 +3,7 @@ port=vitetris
useconfigure="true"
version="0.59.1"
files="https://github.com/vicgeralds/vitetris/archive/refs/tags/v${version}.tar.gz vitetris.tar.gz 699443df03c8d4bf2051838c1015da72039bbbdd0ab0eede891c59c840bdf58d"
-configopts="--without-xlib --without-joystick --without-network"
+configopts=("--without-xlib" "--without-joystick" "--without-network")
auth_type=sha256
launcher_name=vitetris
launcher_category=Games
@@ -12,5 +12,5 @@ launcher_run_in_terminal=true
configure() {
run chmod +x "$configscript"
- run ./"$configscript" $configopts
+ run ./"$configscript" "${configopts[@]}"
}