diff --git a/CHANGELOG.md b/CHANGELOG.md index e06b12dc6711abd823d039ebb4618a97ca4047e8..6aadb89c01ac9885ff32ce2419b11cd010ff69c5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ Upcoming version: ----------------- + - whitespace formatting (Nikolaus Krismer) - updated gradle plugins (Nikolaus Krismer) - version update to latest geoserver binary (Nikolaus Krismer) - got rid of repoforge/rpmforge. cmake is not needed anymore (no pgrouting is used anymore). version udpates (Nikolaus Krismer) diff --git a/bootstrap/config.sh b/bootstrap/config.sh index 1b8db42c13e36cf4cd9090c479cb11bb1b98e44b..fc02f3f1be2293d4ba6f3b3e2c1fb80c4f128020 100755 --- a/bootstrap/config.sh +++ b/bootstrap/config.sh @@ -79,7 +79,7 @@ function fn_arg2boolean() { local OUTVAR="${1}" local ARG="${2}" local VALUE="${3}" # Default value - + if [ -n "$ARG" ]; then if [ "$ARG" == "true" ]; then VALUE=true @@ -116,7 +116,7 @@ function fn_check_status { message="An error occurred. The process will exit now with status $status" fi - fn_echo "${message}" "ERROR" + fn_echo "${message}" "ERROR" exit $status fi } @@ -157,9 +157,9 @@ function fn_echo() { if ${USE_TIMINGS}; then TIME=$(date +"%T.%N") - MESSAGE="[${TIME}] ${MESSAGE}" + MESSAGE="[${TIME}] ${MESSAGE}" fi - + if ${USE_COLOR} ; then case "${LEVEL,,}" in "debug") COLOR="\e[34m" ;; # Blue @@ -167,11 +167,11 @@ function fn_echo() { "warn") COLOR="\e[93m" ;; # light yellow *) COLOR="\e[92m" ;; # light green (on level=info, no level set or invalid level given) esac - + if [ "${LEVEL,,}" = "debug" ] && ! ${VERBOSE}; then return 0 fi - + echo -e "${COLOR}${MESSAGE}${DEFAULT_COLOR}" else echo "${MESSAGE}"