From f5bb8af82f3f74cc8f621a9d6860a9370b4e02ec Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Wed, 11 Oct 2017 22:44:35 +0200 Subject: iso2usb.sh: fix syntax for '^64bit' option to tune2fs command --- iso2usb.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'iso2usb.sh') diff --git a/iso2usb.sh b/iso2usb.sh index 8f82708..efcaad5 100644 --- a/iso2usb.sh +++ b/iso2usb.sh @@ -634,10 +634,10 @@ if [ $REFRESH -eq 0 ]; then # otherwise, the syslinux bootloader (>= 6.03) will fail. # Note: older 32bit OS-es will trip over the '^64bit' feature so be gentle. mkfs.ext4 -F -F -L "${LIVELABEL}" ${TARGET}3 - if ! tune2fs -O '^64bit' ${TARGET}3 1>/dev/null 2>/dev/null ; then + if ! tune2fs -O ^64bit ${TARGET}3 1>/dev/null 2>/dev/null ; then FEAT_64BIT="" else - FEAT_64BIT="-O '^64bit'" + FEAT_64BIT="-O ^64bit" fi tune2fs -c 0 -i 0 -m 0 ${FEAT_64BIT} ${TARGET}3 -- cgit v1.2.3