summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2013-11-04 19:00:56 +0100
committerDaniel Baumann <mail@daniel-baumann.ch>2013-11-04 19:00:56 +0100
commit0495570394f7c04c598ed8affa1550d4ba1bd66d (patch)
tree1660c4c55a12f7baadb319690ccc3ad231924b49
parent4fa62f53fa66984487d753c0f599a5be013fa1b1 (diff)
downloadvyos-live-build-0495570394f7c04c598ed8affa1550d4ba1bd66d.tar.gz
vyos-live-build-0495570394f7c04c598ed8affa1550d4ba1bd66d.zip
Correcting error message when no includes have been found in *-includes commands.
-rwxr-xr-xcomponents/binary-includes2
-rwxr-xr-xcomponents/bootstrap-includes2
-rwxr-xr-xcomponents/chroot-includes2
-rwxr-xr-xcomponents/source-includes2
4 files changed, 4 insertions, 4 deletions
diff --git a/components/binary-includes b/components/binary-includes
index dfac8c760..bdf238ff8 100755
--- a/components/binary-includes
+++ b/components/binary-includes
@@ -75,7 +75,7 @@ def main():
# includes
if not glob.glob('config/includes/*') and not glob.glob('config/includes/.*') and not glob.glob('config/includes.binary/*') and not glob.glob('config/includes.binary/.*'):
if verbose:
- print ('I: no binary includes found at config/includes.binary - nothing to do')
+ print ('I: no binary includes found at config/includes{,.binary} - nothing to do')
sys.exit(0)
diff --git a/components/bootstrap-includes b/components/bootstrap-includes
index f02235ada..57cecb5e2 100755
--- a/components/bootstrap-includes
+++ b/components/bootstrap-includes
@@ -74,7 +74,7 @@ def main():
# includes
if not glob.glob('config/includes/*') and not glob.glob('config/includes/.*') and not glob.glob('config/includes.bootstrap/*') and not glob.glob('config/includes.bootstrap/.*'):
if verbose:
- print ('I: no bootstrap includes found at config/includes.bootstrap - nothing to do')
+ print ('I: no bootstrap includes found at config/includes{,.bootstrap} - nothing to do')
sys.exit(0)
diff --git a/components/chroot-includes b/components/chroot-includes
index ebf9fb552..9e73157e8 100755
--- a/components/chroot-includes
+++ b/components/chroot-includes
@@ -74,7 +74,7 @@ def main():
# includes
if not glob.glob('config/includes/*') and not glob.glob('config/includes/.*') and not glob.glob('config/includes.chroot/*') and not glob.glob('config/includes.chroot/.*'):
if verbose:
- print ('I: no chroot includes found at config/includes.chroot - nothing to do')
+ print ('I: no chroot includes found at config/includes{,.chroot} - nothing to do')
sys.exit(0)
diff --git a/components/source-includes b/components/source-includes
index 39d0e82c9..f1e022d8d 100755
--- a/components/source-includes
+++ b/components/source-includes
@@ -75,7 +75,7 @@ def main():
# includes
if not glob.glob('config/includes/*') and not glob.glob('config/includes/.*') and not glob.glob('config/includes.source/*') and not glob.glob('config/includes.source/.*'):
if verbose:
- print ('I: no source includes found at config/includes.source - nothing to do')
+ print ('I: no source includes found at config/includes{,.source} - nothing to do')
sys.exit(0)