From 97cd945bc86f9a7362c2ebf293a1f95ab7fe0819 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Thu, 27 Dec 2018 12:37:57 -0500 Subject: tools/shman.sh: Create any missing directories --- 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 -- cgit v0.9.1