Commit 5584f9c8 authored by gsell's avatar gsell
Browse files

libem.bash: bugfixes in post-installation

parent a5ad831c
...@@ -543,6 +543,7 @@ function em.cleanup_src() { ...@@ -543,6 +543,7 @@ function em.cleanup_src() {
rm -rf ${MODULE_SRCDIR##*/} rm -rf ${MODULE_SRCDIR##*/}
fi fi
); );
return 0
} }
function _check_compiler() { function _check_compiler() {
...@@ -560,11 +561,13 @@ function _post_install_linux() { ...@@ -560,11 +561,13 @@ function _post_install_linux() {
cd "${PREFIX}" cd "${PREFIX}"
# solve multilib problem with LIBRARY_PATH on 64bit Linux # solve multilib problem with LIBRARY_PATH on 64bit Linux
[[ -d "lib" ]] && [[ ! -d "lib64" ]] && ln -s lib lib64 [[ -d "lib" ]] && [[ ! -d "lib64" ]] && ln -s lib lib64
return 0
} }
function _post_install() { function _post_install() {
info "Run post-installation for ${OS}" info "Run post-installation for ${OS} ..."
[[ "${OS}" == "Linux" ]] && _post_install_linux [[ "${OS}" == "Linux" ]] && _post_install_linux
info "Post-installation done ..."
return 0 return 0
} }
......
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