summaryrefslogtreecommitdiff
path: root/Meta
diff options
context:
space:
mode:
authorPeter Elliott <pelliott@ualberta.ca>2020-07-28 10:47:04 -0600
committerAndreas Kling <kling@serenityos.org>2020-07-28 19:09:44 +0200
commitfc425a218da0058d7ef750010e4d2eb0f3a6199d (patch)
tree6d4235355d614faaee954ffe6705bd2cd17b0d67 /Meta
parentb5633c69d3659689004392ba937b53bd1af81cbc (diff)
downloadserenity-fc425a218da0058d7ef750010e4d2eb0f3a6199d.zip
Meta: Fix style of image building scripts
Oops. I didn't know there was a style guide for the scripts.
Diffstat (limited to 'Meta')
-rwxr-xr-xMeta/build-image-grub.sh2
-rwxr-xr-xMeta/build-image-qemu.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/Meta/build-image-grub.sh b/Meta/build-image-grub.sh
index 9f40fe36ed..0ccda7244b 100755
--- a/Meta/build-image-grub.sh
+++ b/Meta/build-image-grub.sh
@@ -24,7 +24,7 @@ fi
echo "using grub-install at ${grub}"
disk_usage() {
- du -sm $1 | cut -f1
+ du -sm "$1" | cut -f1
}
DISK_SIZE=$(($(disk_usage "$SERENITY_ROOT/Base") + $(disk_usage Root) + 300))
diff --git a/Meta/build-image-qemu.sh b/Meta/build-image-qemu.sh
index badfc3907e..82f391610d 100755
--- a/Meta/build-image-qemu.sh
+++ b/Meta/build-image-qemu.sh
@@ -19,7 +19,7 @@ if [ "$(uname -s)" = "Darwin" ]; then
fi
disk_usage() {
- du -sm $1 | cut -f1
+ du -sm "$1" | cut -f1
}
DISK_SIZE=$(($(disk_usage "$SERENITY_ROOT/Base") + $(disk_usage Root) + 100))