From 1ad253394bac00eeb55d185edc585bdebc481cc0 Mon Sep 17 00:00:00 2001 From: Christoph Niethammer Date: Mon, 2 May 2016 08:55:20 +0000 Subject: [PATCH] Indentation --- sit | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/sit b/sit index d774ea5..a47b7fd 100755 --- a/sit +++ b/sit @@ -168,12 +168,11 @@ PACKAGENAME=${PACKAGENAME:=$PACKAGE} # construct the final installation directory path if [ -z $PREFIX ] ; then -PREFIX="${PREFIX_BASE}/${CATEGORY}/${PACKAGE}/${VERSION}" -PREFIX_SUFFIX=${MPI:+"-$MPI"}${MPI_VERSION_NUM:+"-$MPI_VERSION_NUM"} -PREFIX_SUFFIX=$PREFIX_SUFFIX${COMPILER:+"-$COMPILER"}${COMPILER_VERSION:+"-$COMPILER_VERSION"} -PREFIX_SUFFIX=$PREFIX_SUFFIX${PACKAGE_DESCRIPTOR:+-$PACKAGE_DESCRIPTOR} - -PREFIX=$PREFIX${PREFIX_SUFFIX:+"$PREFIX_SUFFIX"} + PREFIX="${PREFIX_BASE}/${CATEGORY}/${PACKAGE}/${VERSION}" + PREFIX_SUFFIX=${MPI:+"-$MPI"}${MPI_VERSION_NUM:+"-$MPI_VERSION_NUM"} + PREFIX_SUFFIX=$PREFIX_SUFFIX${COMPILER:+"-$COMPILER"}${COMPILER_VERSION:+"-$COMPILER_VERSION"} + PREFIX_SUFFIX=$PREFIX_SUFFIX${PACKAGE_DESCRIPTOR:+-$PACKAGE_DESCRIPTOR} + PREFIX=$PREFIX${PREFIX_SUFFIX:+"$PREFIX_SUFFIX"} fi # final working directory path @@ -212,8 +211,8 @@ if [[ -d ${WORKDIR} && -z $sit_action ]] ; then fi if [ ! -d ${WORKDIR} ] ; then - mkdir -p ${WORKDIR} - mkdir -p ${BUILDDIR} + mkdir -p ${WORKDIR} + mkdir -p ${BUILDDIR} fi if [ ! -z ${LOGDIR} ] ; then