summaryrefslogtreecommitdiff
path: root/Ports/bash/package.sh
diff options
context:
space:
mode:
authorGeorge Pickering <29524044+tedjenkins@users.noreply.github.com>2019-11-02 16:34:54 +0000
committerAndreas Kling <awesomekling@gmail.com>2019-11-03 09:26:22 +0100
commit704f48d7f3a1a88047a64b4e2939878d6d4fafb8 (patch)
tree5fc1e15abb6a5e828217f12aa926b1ca9b35991f /Ports/bash/package.sh
parent2cc5f3a93f84ad0004b99fa22d4b130dfb38e6ba (diff)
downloadserenity-704f48d7f3a1a88047a64b4e2939878d6d4fafb8.zip
POSIX compliance: (most) shell scripts converted to generic shell
Ports/.port_include.sh, Toolchain/BuildIt.sh, Toolchain/UseIt.sh have been left largely untouched due to use of Bash-exclusive functions and variables such as $BASH_SOURCE, pushd and popd.
Diffstat (limited to 'Ports/bash/package.sh')
-rwxr-xr-xPorts/bash/package.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/Ports/bash/package.sh b/Ports/bash/package.sh
index 56daeb313f..f378c32945 100755
--- a/Ports/bash/package.sh
+++ b/Ports/bash/package.sh
@@ -1,4 +1,4 @@
-#!/bin/bash ../.port_include.sh
+#!/bin/sh ../.port_include.sh
port=bash
version=5.0
useconfigure=true
@@ -8,5 +8,5 @@ files="https://ftp.gnu.org/gnu/bash/bash-5.0.tar.gz bash-5.0.tar.gz"
build() {
run_replace_in_file "s/define GETCWD_BROKEN 1/undef GETCWD_BROKEN/" config.h
run_replace_in_file "s/define CAN_REDEFINE_GETENV 1/undef CAN_REDEFINE_GETENV/" config.h
- run make $makeopts
+ run make "$makeopts"
}