summaryrefslogtreecommitdiff
path: root/Meta/build-image-grub.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Meta/build-image-grub.sh')
-rwxr-xr-xMeta/build-image-grub.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/Meta/build-image-grub.sh b/Meta/build-image-grub.sh
index c0b8ecc2bd..4bb95b7667 100755
--- a/Meta/build-image-grub.sh
+++ b/Meta/build-image-grub.sh
@@ -2,6 +2,12 @@
set -e
+SUDO="sudo"
+
+if [ "$(uname -s)" = "SerenityOS" ]; then
+ SUDO="pls"
+fi
+
die() {
echo "die: $*"
exit 1