mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 08:17:35 +00:00
Ports/bash: Make a /bin/bash symlink to /usr/local/bin/bash
I've added a post_install step to the system that allows you to run arbitrary commands after the regular install step. This allows scripts that start with "#!/bin/bash" to work in Serenity.
This commit is contained in:
parent
202055a72a
commit
f5418f40cc
2 changed files with 9 additions and 0 deletions
|
@ -14,3 +14,8 @@ build() {
|
|||
run_replace_in_file "s/define CAN_REDEFINE_GETENV 1/undef CAN_REDEFINE_GETENV/" config.h
|
||||
run make $makeopts
|
||||
}
|
||||
|
||||
post_install() {
|
||||
mkdir -p $SERENITY_ROOT/Root/bin
|
||||
ln -s /usr/local/bin/bash $SERENITY_ROOT/Root/bin/bash
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue