summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/shman.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/shman.sh b/tools/shman.sh
index 57fc974..0c6dad3 100755
--- a/tools/shman.sh
+++ b/tools/shman.sh
@@ -345,8 +345,10 @@ main()
fi
if [ -n "${tags}" ]; then
+ mkdir -p "$(dirname "${tags}")"
exec 3>"${tags}"
fi
+ mkdir -p "${out_dir}"
for f in "${@}"; do
parse_docs "${f}" "${source}" "${manual}" "${shso}" "${out_dir}"
done