about summary refs log tree commit diff stats
path: root/hm
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-12-19 16:39:58 +0100
committerSoispha <soispha@vhack.eu>2023-12-19 16:39:58 +0100
commit1d745e237f183a4ec412eca2fba2e9f440d406c7 (patch)
treec1276edb9a5fa04052dbdcae823093b0437c3f3d /hm
parentchore(version): v1.20.0 (diff)
downloadnixos-config-1d745e237f183a4ec412eca2fba2e9f440d406c7.tar.gz
nixos-config-1d745e237f183a4ec412eca2fba2e9f440d406c7.zip
fix(hm/pkgs/src/spodi): Use correct quoting in arguments
Diffstat (limited to '')
-rwxr-xr-xhm/soispha/pkgs/scripts/wrappers/spodi3
1 files changed, 2 insertions, 1 deletions
diff --git a/hm/soispha/pkgs/scripts/wrappers/spodi b/hm/soispha/pkgs/scripts/wrappers/spodi
index fe10a912..55f813a0 100755
--- a/hm/soispha/pkgs/scripts/wrappers/spodi
+++ b/hm/soispha/pkgs/scripts/wrappers/spodi
@@ -31,7 +31,7 @@ cat << EOF | clean > "$config"
 --format opus
 --output {artists}_-_{title}
 --print-errors
---save-errors "$DOWN_DIR/spotdl-errors.log"
+--save-errors '$DOWN_DIR/spotdl-errors.log'
 --generate-lrc
 --overwrite skip
 
@@ -45,6 +45,7 @@ fi
 
 rm "$DOWN_DIR/spotdl.log"
 cd "$DOWN_DIR" || die "BUG: no $DOWN_DIR"
+touch "$DOWN_DIR/spotdl-errors.log"
 
 
 # The sub shell needs to be unquoted, as the arguments may not be treated as one.