Replace echos by sit_info.

This commit is contained in:
Christoph Niethammer 2016-05-18 14:05:00 +00:00
parent eef081accb
commit 9d89fea32c

14
sit
View file

@ -191,7 +191,7 @@ if [ ! -z "$MPI" ] ; then
MPIFC="mpif90" MPIFC="mpif90"
;; ;;
esac esac
echo "MPI compiler env: MPICC=$MPICC, MPICXX=$MPICXX, MPIFC=$MPIFC" sit_info "MPI compiler env: MPICC=$MPICC, MPICXX=$MPICXX, MPIFC=$MPIFC"
MPI_DIR=${MPI_DIR:=$(dirname $(dirname $(which $MPICC)))} MPI_DIR=${MPI_DIR:=$(dirname $(dirname $(which $MPICC)))}
fi fi
@ -231,12 +231,12 @@ LOGDIR=${WORKDIR}
# the class file like CATEGORY or PACKAGE) # the class file like CATEGORY or PACKAGE)
source $SCLASS_DIR/$sit_classfile source $SCLASS_DIR/$sit_classfile
echo "Package name: $PACKAGENAME" sit_info "Package name: $PACKAGENAME"
echo "Installation PREFIX: $PREFIX" sit_info "Installation PREFIX: $PREFIX"
echo "Working dir: $WORKDIR" sit_info "Working dir: $WORKDIR"
echo "Source dir: $SRCDIR" sit_info "Source dir: $SRCDIR"
echo "Build dir: $BUILDDIR" sit_info "Build dir: $BUILDDIR"
echo "Logfile dir: $LOGDIR" sit_info "Logfile dir: $LOGDIR"
sit_countdown 3 sit_countdown 3