summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShannon Booth <shannon.ml.booth@gmail.com>2019-12-24 13:26:40 +1300
committerAndreas Kling <awesomekling@gmail.com>2019-12-24 02:19:59 +0100
commit26c9c27407eb9c975396d9596a845cbd5f4f73fe (patch)
treec61d192411bcb7b2ae0f7e0a3321e513e612172d
parentef6eb07468e410f576d1011ddde2029035c170aa (diff)
downloadserenity-26c9c27407eb9c975396d9596a845cbd5f4f73fe.zip
Build: Fix shellcheck warnings in makeall.sh
"SC2115: Declare and assign separately to avoid masking return values."
-rwxr-xr-xKernel/makeall.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/Kernel/makeall.sh b/Kernel/makeall.sh
index 26b44c8891..e529255504 100755
--- a/Kernel/makeall.sh
+++ b/Kernel/makeall.sh
@@ -5,8 +5,10 @@ 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)
+build_user=$(id -u)
+build_group=$(id -g)
+export build_user
+export build_group
sudo id