diff options
author | Irina Gómez <irinagomez@us.es> | 2020-02-21 11:31:40 +0100 |
---|---|---|
committer | Irina Gómez <irinagomez@us.es> | 2020-02-21 11:31:40 +0100 |
commit | 037fc856d391cb0c9307728154dd4b2253e5e530 (patch) | |
tree | bfb0162d6f0d8ce051f8a4a710064cae076d16e8 /client | |
parent | 12ff50f5288fc4abae453dba488c2bf3608fc51d (diff) |
#953 ogGrubDefaultEntry: Fixes the bad substitution that did not force the condition to match the whole line.
Diffstat (limited to 'client')
-rwxr-xr-x | client/engine/Boot.lib | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/engine/Boot.lib b/client/engine/Boot.lib index 2ca6577a..81f28f83 100755 --- a/client/engine/Boot.lib +++ b/client/engine/Boot.lib @@ -1915,7 +1915,7 @@ if [ "$(basename $CFGFILE)" == "refind.conf" ]; then else # En grub y burg las líneas empiezan a contar desde cero let MENUENTRY=$MENUENTRY-1 - sed --regexp-extended -i s/"set default=\"?[0-9]*\"?"/"set default=\"$MENUENTRY\""/g $CFGFILE + sed --regexp-extended -i s/"set default=\"?[0-9]*\"?$"/"set default=\"$MENUENTRY\""/g $CFGFILE fi MSG="MSG_HELP_$FUNC" echo "${!MSG%%\.}: $@" |