mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-09 01:20:46 +00:00
26c9c27407
"SC2115: Declare and assign separately to avoid masking return values."
20 lines
391 B
Bash
Executable file
20 lines
391 B
Bash
Executable file
#!/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
|
|
build_user=$(id -u)
|
|
build_group=$(id -g)
|
|
export build_user
|
|
export build_group
|
|
|
|
sudo id
|
|
|
|
make -C ../ clean && \
|
|
make -C ../ && \
|
|
make -C ../ test && \
|
|
make -C ../ install &&
|
|
sudo -E PATH="$PATH" ./build-image-qemu.sh
|