summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/any2qmd.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/any2qmd.sh b/bin/any2qmd.sh
index 03d4f5f..ea978b8 100755
--- a/bin/any2qmd.sh
+++ b/bin/any2qmd.sh
@@ -6,7 +6,7 @@ INFILE=$1
OUTFILE="$(dirname "$INFILE")/${2:-index.qmd}"
-if which -s quarto; then
+if command -v quarto > /dev/null 2>&1; then
PANDOC="quarto pandoc"
else
PANDOC=pandoc