summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-06-20 01:33:15 +0100
committerChris Lamb <chris@chris-lamb.co.uk>2008-06-20 01:33:15 +0100
commit8fed454c060a4268b6371d3e42f42f130be4e49b (patch)
treefad51f53fd34a78779976c5aece38fb1ef4c6246 /helpers
parent733e45330642e61321cf1c79cb0579043ec0030f (diff)
downloadvyos-live-build-8fed454c060a4268b6371d3e42f42f130be4e49b.tar.gz
vyos-live-build-8fed454c060a4268b6371d3e42f42f130be4e49b.zip
Emit a warning when running lh_build without a config/ directory.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Diffstat (limited to 'helpers')
-rwxr-xr-xhelpers/lh_build5
1 files changed, 5 insertions, 0 deletions
diff --git a/helpers/lh_build b/helpers/lh_build
index 180f8b99c..7a8355841 100755
--- a/helpers/lh_build
+++ b/helpers/lh_build
@@ -24,6 +24,11 @@ USAGE="${PROGRAM} [--force]"
Arguments "${@}"
+if [ ! -d config ]
+then
+ Echo_warning "No config/ directory; using defaults for all options"
+fi
+
# Bootstrapping system
lh_bootstrap ${*}