Do not modify the provided PACKAGE_DESCRIPTOR variable.
This commit is contained in:
parent
ac4d188dfa
commit
ff3562dc78
1 changed files with 1 additions and 5 deletions
6
sit
6
sit
|
@ -68,10 +68,6 @@ COMPILER=${COMPILER:=${DEFAULT_COMPILER}}
|
||||||
COMPILER_VERSION=${COMPILER_VERSION:=}
|
COMPILER_VERSION=${COMPILER_VERSION:=}
|
||||||
|
|
||||||
|
|
||||||
# add a descriptor at the end of the installation path e.g. for special config options etc.
|
|
||||||
PACKAGE_DESCRIPTOR=${PACKAGE_DESCRIPTOR:+-$PACKAGE_DESCRIPTOR}
|
|
||||||
|
|
||||||
|
|
||||||
# Compiler specifications
|
# Compiler specifications
|
||||||
COMPILER_CONFIG_FILE="$SIT_PATH/etc/platform-configs/${PLATFORM}/compiler/${COMPILER}"
|
COMPILER_CONFIG_FILE="$SIT_PATH/etc/platform-configs/${PLATFORM}/compiler/${COMPILER}"
|
||||||
if [ -e $COMPILER_CONFIG_FILE ] ; then
|
if [ -e $COMPILER_CONFIG_FILE ] ; then
|
||||||
|
@ -179,7 +175,7 @@ if [ -z $PREFIX ] ; then
|
||||||
PREFIX="${PREFIX_BASE}/${CATEGORY}/${PACKAGE}/${VERSION}"
|
PREFIX="${PREFIX_BASE}/${CATEGORY}/${PACKAGE}/${VERSION}"
|
||||||
PREFIX_SUFFIX=${MPI:+"-$MPI"}${MPI_VERSION_NUM:+"-$MPI_VERSION_NUM"}
|
PREFIX_SUFFIX=${MPI:+"-$MPI"}${MPI_VERSION_NUM:+"-$MPI_VERSION_NUM"}
|
||||||
PREFIX_SUFFIX=$PREFIX_SUFFIX${COMPILER:+"-$COMPILER"}${COMPILER_VERSION:+"-$COMPILER_VERSION"}
|
PREFIX_SUFFIX=$PREFIX_SUFFIX${COMPILER:+"-$COMPILER"}${COMPILER_VERSION:+"-$COMPILER_VERSION"}
|
||||||
PREFIX_SUFFIX=$PREFIX_SUFFIX${PACKAGE_DESCRIPTOR}
|
PREFIX_SUFFIX=$PREFIX_SUFFIX${PACKAGE_DESCRIPTOR:+-$PACKAGE_DESCRIPTOR}
|
||||||
|
|
||||||
PREFIX=$PREFIX${PREFIX_SUFFIX:+"$PREFIX_SUFFIX"}
|
PREFIX=$PREFIX${PREFIX_SUFFIX:+"$PREFIX_SUFFIX"}
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue