ladybird/Kernel/sync.sh
Shannon Booth ad4284428a 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 :^)
2020-01-06 10:43:00 +01:00

6 lines
127 B
Bash
Executable File

#!/bin/sh
script_path=$(cd -P -- "$(dirname -- "$0")" && pwd -P)
cd "$script_path"
sudo -E PATH="$PATH" ./build-image-qemu.sh