From 8a8de27fa995551e3487f103bab4fc150f9c67f3 Mon Sep 17 00:00:00 2001 From: Zach Butler Date: Tue, 20 Feb 2024 20:37:13 -0500 Subject: [PATCH] Fix bug when supplying output path --- dl-guide.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dl-guide.sh b/dl-guide.sh index 46bdaf1..498b630 100755 --- a/dl-guide.sh +++ b/dl-guide.sh @@ -62,7 +62,7 @@ function find-output-dir { # parse user input and look for directory if [[ -n "$OUTPUT" && -d "$OUTPUT" ]]; then log "Found user-defined output dir at \"$OUTPUT\"." - OUTPUT_DIR="$(readlink -f "$(get-dir "$OUTPUT")")" + OUTPUT_DIR="$(readlink -f "$OUTPUT")" OUTPUT_FILE="$OUTPUT_FILE_DEFAULT" elif [[ -n "$OUTPUT" ]]; then log "Found user-defined output: \"$OUTPUT\""