mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-24 05:25:13 +00:00
Ports: Use absolute path of port_include
This ensures that .port_include will always import other scripts from the correct location.
This commit is contained in:
parent
4eae5de499
commit
141e5d6f20
Notes:
sideshowbarker
2024-07-17 03:45:48 +09:00
Author: https://github.com/Jan200101 Commit: https://github.com/SerenityOS/serenity/commit/141e5d6f20 Pull-request: https://github.com/SerenityOS/serenity/pull/16824 Reviewed-by: https://github.com/gmta
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
set -eu
|
||||
|
||||
SCRIPT="$(realpath $(dirname "${0}"))"
|
||||
SCRIPT="$(realpath $(dirname "${BASH_SOURCE[0]}"))"
|
||||
|
||||
if [ -z "${SERENITY_STRIPPED_ENV:-}" ]; then
|
||||
exec "${SCRIPT}/.strip_env.sh" "${@}"
|
||||
|
|
Loading…
Add table
Reference in a new issue