summaryrefslogtreecommitdiff
path: root/Meta/build-image-grub.sh
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/build-image-grub.sh
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/build-image-grub.sh')
-rwxr-xr-xMeta/build-image-grub.sh2
1 files changed, 1 insertions, 1 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))