From 174cfe0d1c01cd94c26d35362c2be38d9028cfac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 17 Nov 2016 15:32:09 +0100 Subject: Fix some indent in configure script --- configure | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/configure b/configure index 3e5d58f..9f29180 100755 --- a/configure +++ b/configure @@ -36,7 +36,7 @@ print_help() { echo " In default PREFIX" echo echo "Environment variables:" - echo " CPREFIX Compilation tools prefix." + echo " CPREFIX Compilation tools prefix." echo " CC C compiler command." echo " CFLAGS C compiler flags." echo " LDFLAGS C Linker flags." @@ -53,10 +53,9 @@ CONFIGURED_FILE=.configured # TODO # Backup variables from environment ENVVARS="CPREFIX CC CFLAGS LDFLAGS DOT MKDOCS" for E in $ENVVARS; do - eval "[ -n \"\${$E+y}\" ]" && eval "BACKUP_$E=\$$E" + eval "[ -n \"\${$E+y}\" ]" && eval "BACKUP_$E=\$$E" done -# TODO support for values with escaped colons # Load default configuration if variable not set from environment eval `echo "$CNFS" | sed -ne 's/^\([^:]*\):\([^:]*\).*$/\1=\2/p'` @@ -107,7 +106,7 @@ done # Recover from enviroment variables for E in $ENVVARS; do - eval "[ -n \"\${BACKUP_$E+y}\" ]" && eval "$E=\$BACKUP_$E" + eval "[ -n \"\${BACKUP_$E+y}\" ]" && eval "$E=\$BACKUP_$E" done # Basically save configuration to file -- cgit v1.2.3