Accepting request 263434 from home:Ledest:bashisms
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. OBS-URL: https://build.opensuse.org/request/show/263434 OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=128
This commit is contained in:
parent
fbdab156e4
commit
c34aa24e3a
@ -115,7 +115,7 @@ snapper_snapshots_cfg_refresh () {
|
|||||||
hk=""
|
hk=""
|
||||||
[ -z "$hotkey" ] || hk="--hotkey=s"
|
[ -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
|
if ! snapshot_submenu "$c" > "${c}/${snapshot_submenu_name}"; then
|
||||||
rm -f "${c}/${snapshot_submenu_name}"
|
rm -f "${c}/${snapshot_submenu_name}"
|
||||||
continue
|
continue
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Nov 29 18:26:00 UTC 2014 - Led <ledest@gmail.com>
|
||||||
|
|
||||||
|
- 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 <ledest@gmail.com>
|
Fri Nov 14 16:06:00 UTC 2014 - Led <ledest@gmail.com>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user