summaryrefslogtreecommitdiff
path: root/Kernel/makeall.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/makeall.sh')
-rwxr-xr-xKernel/makeall.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/Kernel/makeall.sh b/Kernel/makeall.sh
index e1beaea98e..26b44c8891 100755
--- a/Kernel/makeall.sh
+++ b/Kernel/makeall.sh
@@ -1,6 +1,9 @@
#!/bin/sh
set -e
+script_path=$(cd -P -- "$(dirname -- "$0")" && pwd -P)
+cd "$script_path"
+
# Get user and group details for setting qemu disk image ownership
export build_user=$(id -u)
export build_group=$(id -g)