dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit aae4c2dc7bdcb4f7ad8c4faa95d97cfd22fa27d9
parent b8ffc1df29e41e956e6a5278153359d82e94d9c3
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Fri, 29 May 2020 09:35:41 +0200

Fix URL input from stdin

Diffstat:
M.local/bin/youtube-dl-music | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.local/bin/youtube-dl-music b/.local/bin/youtube-dl-music @@ -1,7 +1,7 @@ #!/bin/sh # requirements: youtube-dl, id3tag -set -ue +set -e musicroot="/home/music/" @@ -157,6 +157,6 @@ else urls="$@" fi -for u in "$@"; do +for u in "$urls"; do handle_url "$u" done