From db9b874426ff3362851564e12ce88f23f109f3fa Mon Sep 17 00:00:00 2001 From: Jaidyn Ann Date: Mon, 6 Dec 2021 12:34:40 -0600 Subject: [PATCH] Fix handling of arguments w spaces --- songattr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/songattr b/songattr index 5cdc5cb..d39f763 100755 --- a/songattr +++ b/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