refactor variable names according to changes in Pmodules/0.99.15 in build-scripts of group 'Compiler'

This commit is contained in:
2018-07-11 10:49:03 +02:00
parent f62924c8f3
commit b53aaf92a5
17 changed files with 39 additions and 39 deletions
+2 -2
View File
@@ -7,7 +7,7 @@ pbuild::post_prep() {
}
pbuild::configure() {
"${MODULE_SRCDIR}"/configure \
"${SRC_DIR}"/configure \
--prefix="${PREFIX}"
}
@@ -40,7 +40,7 @@ pbuild::post_install() {
local sed_cmd="s:@PREFIX@:${PREFIX}:g;"
sed_cmd+="s:@HDF5_PREFIX@:${HDF5_SERIAL_PREFIX}:g;"
sed_cmd+="s:@ROOT_PREFIX@:${ROOT_PREFIX}:g;"
sed "${sed_cmd}" "${BUILD_BLOCK_DIR}/${V_MAJOR}/H5root" > "${PREFIX}/bin/H5root"
sed "${sed_cmd}" "${BUILDBLOCK_DIR}/${V_MAJOR}/H5root" > "${PREFIX}/bin/H5root"
chmod 0755 "${PREFIX}/bin/H5root"
# install serial HDF5 and H5hut header files