diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-03-13 21:10:07 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-03-13 21:10:07 (EDT) |
commit | edad41db0f770ebddc3c871f41c593a7604f201f (patch) | |
tree | 018e87764ac628f8e585a507c89a64f7cee736ec /src | |
parent | 37b1a510c5fa4af3c16bdaf32870b6badd98d262 (diff) |
ob-installdocs: Fix mkdir when dest not given
Diffstat (limited to 'src')
-rw-r--r-- | src/ob-installdocs.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ob-installdocs.sh b/src/ob-installdocs.sh index dc768ed..305d3ee 100644 --- a/src/ob-installdocs.sh +++ b/src/ob-installdocs.sh @@ -29,7 +29,7 @@ install_docs() for src in ${srcs}; do if [ -f "${src}" ]; then - if ! mkdir -p -- "$(dirname -- "${data_doc_dir}/${dest}")" + if ! mkdir -p -- "$(dirname -- "${data_doc_dir}/./${dest}")" then ob_error "$(ob_get_msg 'cant_make_doc_dir')" return 1 @@ -39,7 +39,7 @@ install_docs() return 1 fi elif [ -d "${src}" ]; then - if ! mkdir -p -- "$(dirname -- "${data_doc_dir}/${dest}")" + if ! mkdir -p -- "$(dirname -- "${data_doc_dir}/./${dest}")" then ob_error "$(ob_get_msg 'cant_make_doc_dir')" return 1 |