From 6fc26df12025635eda5bf068d3e2fcd7fe259809 Mon Sep 17 00:00:00 2001 From: Christoph Niethammer Date: Mon, 2 May 2016 08:55:19 +0000 Subject: [PATCH] Indentation --- sit | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/sit b/sit index 0af5ec1..9ab3892 100755 --- a/sit +++ b/sit @@ -35,9 +35,9 @@ function usage() { # sit action to be performed sit_action=$2 if [[ -n $sit_action ]] ; then - echo "Performing action: $sit_action" + echo "Performing action: $sit_action" else - sit_action="all" + sit_action="all" fi # Reading in user configuration file if it exists @@ -50,14 +50,12 @@ if [[ -e $SIT_CONFIG_FILE ]] ; then fi source "$SIT_PATH/functions.sh" - # identify platform manually if no environment variable was set PLATFORM=${PLATFORM:=$SITE_PLATFORM_NAME} if [ -z $PLATFORM ]; then sit_info "Unknown platform using default platform '${DEFAULT_PLATFORM}' configuration" PLATFORM="${DEFAULT_PLATFORM}" fi - sit_info "Platform: $PLATFORM" # compiler to use @@ -89,9 +87,8 @@ else else module swap $COMPILER $COMPILER/$COMPILER_VERSION fi - # adjust MPICH and libsci versions to match compiler - module load cray-mpich-compat/v7 \ - || module load cray-mpich-compat/v6 + # adjust MPICH and libsci versions to match compiler + module load cray-mpich-compat/v7 || module load cray-mpich-compat/v6 fi MPI_DIR=$MPICH_DIR ;;