1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:58:12 +00:00

Meta: Fix style of image building scripts

Oops. I didn't know there was a style guide for the scripts.
This commit is contained in:
Peter Elliott 2020-07-28 10:47:04 -06:00 committed by Andreas Kling
parent b5633c69d3
commit fc425a218d
2 changed files with 2 additions and 2 deletions

View file

@ -24,7 +24,7 @@ fi
echo "using grub-install at ${grub}" echo "using grub-install at ${grub}"
disk_usage() { disk_usage() {
du -sm $1 | cut -f1 du -sm "$1" | cut -f1
} }
DISK_SIZE=$(($(disk_usage "$SERENITY_ROOT/Base") + $(disk_usage Root) + 300)) DISK_SIZE=$(($(disk_usage "$SERENITY_ROOT/Base") + $(disk_usage Root) + 300))

View file

@ -19,7 +19,7 @@ if [ "$(uname -s)" = "Darwin" ]; then
fi fi
disk_usage() { disk_usage() {
du -sm $1 | cut -f1 du -sm "$1" | cut -f1
} }
DISK_SIZE=$(($(disk_usage "$SERENITY_ROOT/Base") + $(disk_usage Root) + 100)) DISK_SIZE=$(($(disk_usage "$SERENITY_ROOT/Base") + $(disk_usage Root) + 100))