1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 06:07:34 +00:00

Build: use $SUDO_[UG]ID in build-image-* instead of relying on makeall

This commit is contained in:
joshua stein 2020-01-15 14:45:39 -06:00 committed by Andreas Kling
parent c6c7e40bd1
commit 0fa38e4a4a
3 changed files with 2 additions and 8 deletions

View file

@ -4,12 +4,6 @@ set -e
script_path=$(cd -P -- "$(dirname -- "$0")" && pwd -P)
cd "$script_path"
# Get user and group details for setting qemu disk image ownership
build_user=$(id -u)
build_group=$(id -g)
export build_user
export build_group
fast_mode=
while [ "$1" != "" ]; do
case $1 in