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:
parent
b5633c69d3
commit
fc425a218d
Notes:
sideshowbarker
2024-07-19 04:30:17 +09:00
Author: https://github.com/petelliott Commit: https://github.com/SerenityOS/serenity/commit/fc425a218da Pull-request: https://github.com/SerenityOS/serenity/pull/2913
2 changed files with 2 additions and 2 deletions
|
@ -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))
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Add table
Reference in a new issue