Skip to content

Commit 235d535

Browse files
authored
Fix default output directory bug (#5)
It would assign the output dir to the root directory instead of `output/` because of a conditional that was incorrect
1 parent 9cbf65d commit 235d535

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/build-docs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ inputDir="docs/en"
1616
outputArg="${1}"
1717
firstChar=$(echo "$1" | cut -c1-1)
1818

19-
if [ "$firstChar" != "/" ]
19+
if [ "$firstChar" != "/" ] && [ "$firstChar" != "" ]
2020
then
2121
# Output directory should be relative to working directory
2222
outputArg="$rootDir/$outputArg"

0 commit comments

Comments
 (0)