diff --git a/build_tools/build_documentation.sh b/build_tools/build_documentation.sh index 42b71eac3..8e9f69395 100755 --- a/build_tools/build_documentation.sh +++ b/build_tools/build_documentation.sh @@ -42,7 +42,7 @@ mkdir -p "${OUTPUTDIR}" # Make a temporary directory -TMPLOC=`mktemp -d -t fish_doc_build` || { echo >&2 "Could not build documentation because mktemp failed"; exit 1; } +TMPLOC=`mktemp -d -t fish_doc_build_XXXXXX` || { echo >&2 "Could not build documentation because mktemp failed"; exit 1; } # Copy stuff to the temp directory for i in "$FISHDIR"/doc_src/*.txt; do