update example script to replace & with &

This commit is contained in:
speedie 2023-03-08 19:29:26 +01:00
parent 20e5121a49
commit 3044e40c5f

View file

@ -46,7 +46,7 @@ main() {
[ -n "$maxcount" ] && c="$maxcount"
[ -n "$startline" ] && c="$startline"
sel_file="$(create_list | $RUNLAUNCHER $RUNLAUNCHER_ARGS)"
sel_file="$(create_list | sed "s/\&/\&/g" | $RUNLAUNCHER $RUNLAUNCHER_ARGS | sed "s/\&/\&/g")"
play
rm -f "$prefix"/cover*.jpg # cleanup
}