Avoid eval in cmus notify script
This commit is contained in:
parent
fa70f8cce9
commit
77eb7d2058
1 changed files with 1 additions and 2 deletions
|
@ -2,12 +2,11 @@
|
|||
#
|
||||
#CMUS notification
|
||||
#
|
||||
set -x
|
||||
body=""
|
||||
|
||||
while [ "$#" -ge 2 ]
|
||||
do
|
||||
eval $1='$2'
|
||||
printf -v "$1" "%s" "$2"
|
||||
shift
|
||||
shift
|
||||
done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue