aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2016-11-17 15:32:09 +0100
committerKarel Kočí <cynerd@email.cz>2016-11-17 15:32:09 +0100
commit174cfe0d1c01cd94c26d35362c2be38d9028cfac (patch)
tree14f3386f5df7e381bbb1b8e7b4d44929cc9fc77b
parent88d42c666eaee77e6edd7b03925d20bb831cdd9d (diff)
downloadgeml-174cfe0d1c01cd94c26d35362c2be38d9028cfac.tar.gz
geml-174cfe0d1c01cd94c26d35362c2be38d9028cfac.tar.bz2
geml-174cfe0d1c01cd94c26d35362c2be38d9028cfac.zip
Fix some indent in configure script
-rwxr-xr-xconfigure7
1 files 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