diff options
-rwxr-xr-x | anykernel.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/anykernel.sh b/anykernel.sh index 1257283..6fff248 100755 --- a/anykernel.sh +++ b/anykernel.sh @@ -194,7 +194,7 @@ patch_fstab() { options) part=$(echo "$entry" | awk '{ print $4 }');; flags) part=$(echo "$entry" | awk '{ print $5 }');; esac; - newentry=${entry//$part/$6}; + newentry=$(echo "$entry" | sed "s;${part};${6};"); sed -i "s;${entry};${newentry};" $1; fi; } |