Correcting error message when no includes have been found in *-includes commands.
authorDaniel Baumann <mail@daniel-baumann.ch>
Mon, 4 Nov 2013 18:00:56 +0000 (19:00 +0100)
committerDaniel Baumann <mail@daniel-baumann.ch>
Mon, 4 Nov 2013 18:00:56 +0000 (19:00 +0100)
components/binary-includes
components/bootstrap-includes
components/chroot-includes
components/source-includes

index dfac8c7..bdf238f 100755 (executable)
@@ -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)
 
index f02235a..57cecb5 100755 (executable)
@@ -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)
 
index ebf9fb5..9e73157 100755 (executable)
@@ -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)
 
index 39d0e82..f1e022d 100755 (executable)
@@ -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)