diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2018-12-27 12:37:57 (EST) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2018-12-27 12:37:57 (EST) |
commit | 97cd945bc86f9a7362c2ebf293a1f95ab7fe0819 (patch) | |
tree | 1e369b67d6f636de41012b3579b71e2fe498375e | |
parent | 753fec920e91a9ffd800186e3607ab871df7c8fd (diff) |
tools/shman.sh: Create any missing directories
-rwxr-xr-x | tools/shman.sh | 2 |
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 |