diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/any2qmd.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/any2qmd.sh b/bin/any2qmd.sh index 021b511..0abe6ce 100755 --- a/bin/any2qmd.sh +++ b/bin/any2qmd.sh @@ -4,7 +4,7 @@ set -eu INFILE=$1 -OUTFILE="$(dirname "$INFILE")/${2:-index.qmd}" +OUTFILE="${2:-$(dirname "$INFILE")/index.qmd}" if command -v quarto > /dev/null 2>&1; then PANDOC="quarto pandoc" |