summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ob-installdocs.sh4
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