diff --git a/grub2-snapper-plugin.sh b/grub2-snapper-plugin.sh index c6203e4..8cb0526 100644 --- a/grub2-snapper-plugin.sh +++ b/grub2-snapper-plugin.sh @@ -115,7 +115,7 @@ snapper_snapshots_cfg_refresh () { hk="" [ -z "$hotkey" ] || hk="--hotkey=s" - for c in `echo -e "${cs}" | sort -Vr`; do + for c in `printf "${cs}\n" | sort -Vr`; do if ! snapshot_submenu "$c" > "${c}/${snapshot_submenu_name}"; then rm -f "${c}/${snapshot_submenu_name}" continue diff --git a/grub2.changes b/grub2.changes index a7f1131..afa179d 100644 --- a/grub2.changes +++ b/grub2.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sat Nov 29 18:26:00 UTC 2014 - Led + +- Replace 'echo -e' command in grub2-snapper-plugin.sh script to + 'printf' command. '-e' option of 'echo' command may be + unsupported in some POSIX-complete shells. + ------------------------------------------------------------------- Fri Nov 14 16:06:00 UTC 2014 - Led