diff options
author | Karel Kočí <cynerd@email.cz> | 2016-11-17 15:32:09 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2016-11-17 15:32:09 +0100 |
commit | 174cfe0d1c01cd94c26d35362c2be38d9028cfac (patch) | |
tree | 14f3386f5df7e381bbb1b8e7b4d44929cc9fc77b /configure | |
parent | 88d42c666eaee77e6edd7b03925d20bb831cdd9d (diff) | |
download | geml-174cfe0d1c01cd94c26d35362c2be38d9028cfac.tar.gz geml-174cfe0d1c01cd94c26d35362c2be38d9028cfac.tar.bz2 geml-174cfe0d1c01cd94c26d35362c2be38d9028cfac.zip |
Fix some indent in configure script
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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 |