1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 11:37:34 +00:00

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.
This commit is contained in:
George Pickering 2019-11-02 16:34:54 +00:00 committed by Andreas Kling
parent 2cc5f3a93f
commit 704f48d7f3
43 changed files with 152 additions and 144 deletions

View file

@ -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"
}