mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-22 12:35:14 +00:00
Meta: Add missing quotation marks for INODE_COUNT and INODE_SIZE
This commit is contained in:
parent
f9c61e3ba7
commit
e887989c23
Notes:
sideshowbarker
2024-07-17 04:41:05 +09:00
Author: https://github.com/timschumi Commit: https://github.com/SerenityOS/serenity/commit/e887989c23 Pull-request: https://github.com/SerenityOS/serenity/pull/18392
1 changed files with 2 additions and 2 deletions
|
@ -125,7 +125,7 @@ if [ $USE_EXISTING -ne 1 ]; then
|
|||
if [ "$(uname -s)" = "OpenBSD" ]; then
|
||||
VND=$(vnconfig _disk_image)
|
||||
(echo "e 0"; echo 83; echo n; echo 0; echo "*"; echo "quit") | fdisk -e "$VND"
|
||||
newfs_ext2fs -D $INODE_SIZE -n $INODE_COUNT "/dev/r${VND}i" || die "could not create filesystem"
|
||||
newfs_ext2fs -D "${INODE_SIZE}" -n "${INODE_COUNT}" "/dev/r${VND}i" || die "could not create filesystem"
|
||||
else
|
||||
"${MKE2FS_PATH}" -q -I "${INODE_SIZE}" -N "${INODE_COUNT}" _disk_image || die "could not create filesystem"
|
||||
fi
|
||||
|
@ -191,7 +191,7 @@ if [ $use_genext2fs = 1 ]; then
|
|||
# genext2fs is very slow in generating big images, so I use a smaller image here. size can be updated
|
||||
# if it's not enough.
|
||||
# not using "-I $INODE_SIZE" since it hangs. Serenity handles whatever default this uses instead.
|
||||
genext2fs -B 4096 -b $((DISK_SIZE_BYTES / 4096)) -N $INODE_COUNT -d mnt _disk_image || die "try increasing image size (genext2fs -b)"
|
||||
genext2fs -B 4096 -b $((DISK_SIZE_BYTES / 4096)) -N "${INODE_COUNT}" -d mnt _disk_image || die "try increasing image size (genext2fs -b)"
|
||||
# if using docker with shared mount, file is created as root, so make it writable for users
|
||||
chmod 0666 _disk_image
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue