From: Vladimir Serbinenko Date: Wed, 30 Aug 2017 15:22:58 +0000 (+0200) Subject: grub-fs-tester: Fix bashism X-Git-Url: https://iam.tj/gitweb/gitweb.cgi?p=grub.git;a=commitdiff_plain;h=4f31bfe1d36e95ca3b1cdaf6a9d45d1e3722ad2f grub-fs-tester: Fix bashism --- diff --git a/tests/util/grub-fs-tester.in b/tests/util/grub-fs-tester.in index fd7e0f14b..15969d796 100644 --- a/tests/util/grub-fs-tester.in +++ b/tests/util/grub-fs-tester.in @@ -957,7 +957,7 @@ for LOGSECSIZE in $(range "$MINLOGSECSIZE" "$MAXLOGSECSIZE" 1); do esac # Make sure file is not exact multiple of block size. This helps to force # tail packing in case of squash4. - : $((BLOCKCNT--)) + BLOCKCNT="$((BLOCKCNT-1))" case x"$fs" in x"ntfscomp") setfattr -h -v 0x00000800 -n system.ntfs_attrib_be "$MNTPOINTRW/$OSDIR";;