Commit 2dd22a77 authored by gsell's avatar gsell
Browse files

libem.bash: create DOCDIR in em.install_doc()

parent 3694758f
......@@ -425,7 +425,6 @@ function _prep() {
(cd "${BUILD_TMPDIR}/src" && tar ${_UNTAR_FLAGS} "${TARBALL}")
fi
install -m 0755 -d "${DOCDIR}"
# create build directory
mkdir -p "${MODULE_BUILDDIR}"
......@@ -454,7 +453,7 @@ function em.post_install() {
function em.install_doc() {
info "Installing documentation to ${DOCDIR}"
mkdir -p "${DOCDIR}"
install -m 0755 -d "${DOCDIR}"
install -m0444 "${MODULE_DOCFILES[@]/#/${MODULE_SRCDIR}/}" "${BUILDSCRIPT}" "${DOCDIR}"
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment