summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-06-20 01:33:15 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:36 +0100
commit9fba09b73503eacbee31639e9aac11a87d4066ab (patch)
treefad51f53fd34a78779976c5aece38fb1ef4c6246 /helpers
parent39310a31214ca2d8bf8ae6c6d91477b32fb25ee2 (diff)
downloadvyos-live-build-9fba09b73503eacbee31639e9aac11a87d4066ab.tar.gz
vyos-live-build-9fba09b73503eacbee31639e9aac11a87d4066ab.zip
Emit a warning when running lh_build without a config/ directory.
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 ${*}