mirror of
https://github.com/SerenityOS/serenity
synced 2024-09-06 17:06:31 +00:00
Meta: Allow sync.sh to be run from any directory
I often keep my terminal camped in the project root directory and run `make && ./Kernel/sync.sh && ./Kernel/run` This change allows me to not feel like a doofus when I do that :^)
This commit is contained in:
parent
47276a09dd
commit
ad4284428a
|
@ -1,3 +1,5 @@
|
|||
#!/bin/sh
|
||||
script_path=$(cd -P -- "$(dirname -- "$0")" && pwd -P)
|
||||
cd "$script_path"
|
||||
|
||||
sudo -E PATH="$PATH" ./build-image-qemu.sh
|
||||
|
|
Loading…
Reference in a new issue