mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 11:18:13 +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 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue