summaryrefslogtreecommitdiff
path: root/Ports/gcc
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/gcc
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/gcc')
-rwxr-xr-xPorts/gcc/package.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/Ports/gcc/package.sh b/Ports/gcc/package.sh
index 9b9df8f307..237a6847fb 100755
--- a/Ports/gcc/package.sh
+++ b/Ports/gcc/package.sh
@@ -1,4 +1,4 @@
-#!/bin/bash ../.port_include.sh
+#!/bin/sh ../.port_include.sh
port=gcc
version=8.3.0
useconfigure=true
@@ -18,10 +18,10 @@ fetch() {
done
}
build() {
- run make $makeopts
+ run make "$makeopts"
run find ./host-i686-pc-serenity/gcc/ -maxdepth 1 -type f -executable -exec strip --strip-debug {} \; || echo
}
install() {
- run make $installopts
+ run make "$installopts"
}