summaryrefslogtreecommitdiff
path: root/helpers/lh_config
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-01-31 16:33:56 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:09:41 +0100
commit695cdf15306327c9c78f2b4c25995485f64c95c6 (patch)
tree065b86bc26e98b039085e8cba1471880a95cf20b /helpers/lh_config
parentb038c34072025c217afd26a6e6bc1395e3913124 (diff)
downloadlive-build-695cdf15306327c9c78f2b4c25995485f64c95c6.zip
live-build-695cdf15306327c9c78f2b4c25995485f64c95c6.tar.gz
Fixing infinit loop when using autoconfig for lh_config and lh_clean.
Diffstat (limited to 'helpers/lh_config')
-rwxr-xr-xhelpers/lh_config7
1 files changed, 5 insertions, 2 deletions
diff --git a/helpers/lh_config b/helpers/lh_config
index ff33de9..c0cd618 100755
--- a/helpers/lh_config
+++ b/helpers/lh_config
@@ -10,10 +10,13 @@
set -e
# Read meta config
-if [ "${1}" != "autoconfig" ] && [ -x scripts/config ]
+if [ "${1}" != "noautoconfig" ] && [ -x scripts/config ]
then
./scripts/config ${@}
-else
+fi
+
+if [ "${1}" = "noautoconfig" ]
+then
shift
fi