mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-16 07:20:46 +00:00
Meta: get rid of sync.sh using the technique used in the previous commit
This commit is contained in:
parent
e42f4abd61
commit
4a784d4d1b
Notes:
sideshowbarker
2024-07-19 05:30:06 +09:00
Author: https://github.com/emanuele6
Commit: 4a784d4d1b
Pull-request: https://github.com/SerenityOS/serenity/pull/2595
3 changed files with 3 additions and 8 deletions
|
@ -8,8 +8,9 @@ die() {
|
|||
}
|
||||
|
||||
if [ "$(id -u)" != 0 ]; then
|
||||
die "this script needs to run as root"
|
||||
exec sudo -E -- "$0" "$@" || die "this script needs to run as root"
|
||||
fi
|
||||
|
||||
if [ "$(uname -s)" = "Darwin" ]; then
|
||||
export PATH="/usr/local/opt/e2fsprogs/bin:$PATH"
|
||||
export PATH="/usr/local/opt/e2fsprogs/sbin:$PATH"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue