From 2dadee7bd5d712d599172a139b5e4c59e9a9824d Mon Sep 17 00:00:00 2001 From: Pauline Vos Date: Wed, 8 Oct 2025 12:04:54 +0200 Subject: [PATCH] Fix default output directory bug It would assign the output dir to the root directory instead of `output/` because of a conditional that was incorrect --- bin/build-docs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/build-docs.sh b/bin/build-docs.sh index cfade88..e0e2800 100755 --- a/bin/build-docs.sh +++ b/bin/build-docs.sh @@ -16,7 +16,7 @@ inputDir="docs/en" outputArg="${1}" firstChar=$(echo "$1" | cut -c1-1) -if [ "$firstChar" != "/" ] +if [ "$firstChar" != "/" ] && [ "$firstChar" != "" ] then # Output directory should be relative to working directory outputArg="$rootDir/$outputArg"