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