1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 22:17:44 +00:00

Ports: Undo POSIX sh compliance changes for now

Partial revert of 704f48d7f3.
These changes made the ports system unusable.
This commit is contained in:
Andreas Kling 2019-11-03 10:05:02 +01:00
parent 4565b2d2d9
commit 3d239be7b4
22 changed files with 35 additions and 38 deletions

View file

@ -1,4 +1,4 @@
#!/bin/sh ../.port_include.sh
#!/bin/bash ../.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
}