diff options
-rwxr-xr-x | Meta/build-image-grub.sh | 2 | ||||
-rwxr-xr-x | Meta/build-image-qemu.sh | 2 |
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)) |