Skip to content

Commit

Permalink
Meta: Fix style of image building scripts
Browse files Browse the repository at this point in the history
Oops. I didn't know there was a style guide for the scripts.
  • Loading branch information
petelliott authored and awesomekling committed Jul 28, 2020
1 parent b5633c6 commit fc425a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Meta/build-image-grub.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down
2 changes: 1 addition & 1 deletion Meta/build-image-qemu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit fc425a2

Please sign in to comment.