summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Frey <cdfrey@foursquare.net>2021-12-11 21:28:16 -0500
committerBrian Gianforcaro <b.gianfo@gmail.com>2022-01-13 03:35:21 -0800
commit951f7becec7e06554e5a9f5eec8b067fa2bb31f2 (patch)
treed303845bd84b648ebfe7dc5bf154a9b437dfb07c
parent319cdf4ff3e53858cf0c03c3fe965ee56d94e895 (diff)
downloadserenity-951f7becec7e06554e5a9f5eec8b067fa2bb31f2.zip
Meta: Use consistent indents in build-image-qemu.sh
This is a whitespace only commit to avoid confusion with the next feature commit.
-rwxr-xr-xMeta/build-image-qemu.sh26
1 files changed, 13 insertions, 13 deletions
diff --git a/Meta/build-image-qemu.sh b/Meta/build-image-qemu.sh
index 10114ba397..0b29b42707 100755
--- a/Meta/build-image-qemu.sh
+++ b/Meta/build-image-qemu.sh
@@ -117,25 +117,25 @@ printf "mounting filesystem... "
mkdir -p mnt
use_genext2fs=0
if [ "$(uname -s)" = "Darwin" ]; then
- mount_cmd="fuse-ext2 _disk_image mnt -o rw+,allow_other,uid=501,gid=20"
+ mount_cmd="fuse-ext2 _disk_image mnt -o rw+,allow_other,uid=501,gid=20"
elif [ "$(uname -s)" = "OpenBSD" ]; then
- VND=$(vnconfig _disk_image)
- mount_cmd="mount -t ext2fs "/dev/${VND}i" mnt/"
+ VND=$(vnconfig _disk_image)
+ mount_cmd="mount -t ext2fs "/dev/${VND}i" mnt/"
elif [ "$(uname -s)" = "FreeBSD" ]; then
- MD=$(mdconfig _disk_image)
- mount_cmd="fuse-ext2 -o rw+,direct_io "/dev/${MD}" mnt/"
+ MD=$(mdconfig _disk_image)
+ mount_cmd="fuse-ext2 -o rw+,direct_io "/dev/${MD}" mnt/"
else
- mount_cmd="mount _disk_image mnt/"
+ mount_cmd="mount _disk_image mnt/"
fi
if ! eval "$mount_cmd"; then
- if command -v genext2fs 1>/dev/null ; then
- echo "mount failed but genext2fs exists, use it instead"
- use_genext2fs=1
- else
- die "could not mount filesystem and genext2fs is missing"
- fi
+ if command -v genext2fs 1>/dev/null ; then
+ echo "mount failed but genext2fs exists, use it instead"
+ use_genext2fs=1
+ else
+ die "could not mount filesystem and genext2fs is missing"
+ fi
else
- echo "done"
+ echo "done"
fi
cleanup() {