mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 10:07:44 +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:
parent
2cc5f3a93f
commit
704f48d7f3
43 changed files with 152 additions and 144 deletions
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue