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/dash/package.sh | |
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/dash/package.sh')
-rwxr-xr-x | Ports/dash/package.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Ports/dash/package.sh b/Ports/dash/package.sh index 4a7df559f1..ba1ca74ca1 100755 --- a/Ports/dash/package.sh +++ b/Ports/dash/package.sh @@ -12,20 +12,20 @@ configure() { run aclocal run automake --add-missing run mkdir -p host-build - run sh -c "cd host-build && ../configure $configopts CFLAGS=-I." + run sh -c "cd host-build && ../configure ${configopts[@]} CFLAGS=-I." target_env run mkdir -p target-build - run sh -c "cd target-build && ../configure --host="${SERENITY_ARCH}-pc-serenity" --disable-helpers $configopts CFLAGS=-I." + run sh -c "cd target-build && ../configure --host="${SERENITY_ARCH}-pc-serenity" --disable-helpers ${configopts[@]} CFLAGS=-I." } build() { host_env - run sh -c "cd host-build && make $makeopts" + run sh -c "cd host-build && make ${makeopts[@]}" run cp host-build/src/{mkinit,mksyntax,mknodes,mksignames} src target_env - run sh -c "cd target-build && make $makeopts" + run sh -c "cd target-build && make ${makeopts[@]}" } install() { - run sh -c "cd target-build && make DESTDIR="${SERENITY_INSTALL_ROOT}" $installopts install" + run sh -c "cd target-build && make DESTDIR="${SERENITY_INSTALL_ROOT}" ${installopts[@]} install" } |