Fix handling of arguments w spaces
This commit is contained in:
parent
55ea973eac
commit
db9b874426
4
songattr
4
songattr
|
@ -168,12 +168,12 @@ if test -z "$1"; then help; fi
|
|||
if test ! -e /bin/ffmpeg; then help; fi
|
||||
|
||||
if test "$SONG" -eq 1; then
|
||||
for song in $@; do
|
||||
for song in "$@"; do
|
||||
set_song_attrs "$song"
|
||||
done
|
||||
fi
|
||||
if test "$ALBUM" -eq 1; then
|
||||
for song in $@; do
|
||||
for song in "$@"; do
|
||||
set_album_attrs "$@"
|
||||
done
|
||||
fi
|
||||
|
|
Ŝarĝante…
Reference in New Issue