Skip to content

Commit

Permalink
Fix bug when supplying output path
Browse files Browse the repository at this point in the history
  • Loading branch information
kj4ezj committed Feb 21, 2024
1 parent 71d0b4a commit 8a8de27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dl-guide.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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\""
Expand Down

0 comments on commit 8a8de27

Please sign in to comment.