Correcting a few copy/paste errors in *-includes python stubs.

This commit is contained in:
Daniel Baumann 2013-11-10 08:06:36 +01:00
parent e9b5682936
commit aaa3b7382f
4 changed files with 4 additions and 20 deletions

View File

@ -81,16 +81,12 @@ def main():
# process includes
if glob.glob('config/includes/*') or glob.glob('config/includes/.*'):
hooks = glob.glob('config/includes/*') + glob.glob('config/includes/.*')
if verbose:
print('I: Copying config/includes to binary')
cpio = subprocess.call('cd config/includes && find . | cpio -dmpu --no-preserve-owner ../../binary', shell=True)
if glob.glob('config/includes.binary/*') and not glob.glob('config/includes.binary/.*'):
hooks = glob.glob('config/includes.binary/*') + glob.glob('config/includes.binary/.*')
if glob.glob('config/includes.binary/*') or glob.glob('config/includes.binary/.*'):
if verbose:
print('I: Copying config/includes.binary to binary')

View File

@ -80,16 +80,12 @@ def main():
# process includes
if glob.glob('config/includes/*') or glob.glob('config/includes/.*'):
hooks = glob.glob('config/includes/*') + glob.glob('config/includes/.*')
if verbose:
print('I: Copying config/includes to chroot')
cpio = subprocess.call('cd config/includes && find . | cpio -dmpu --no-preserve-owner ../../chroot', shell=True)
if glob.glob('config/includes.bootstrap/*') and not glob.glob('config/includes.bootstrap/.*'):
hooks = glob.glob('config/includes.bootstrap/*') + glob.glob('config/includes.bootstrap/.*')
if glob.glob('config/includes.bootstrap/*') or glob.glob('config/includes.bootstrap/.*'):
if verbose:
print('I: Copying config/includes.bootstrap to chroot')

View File

@ -80,16 +80,12 @@ def main():
# process includes
if glob.glob('config/includes/*') or glob.glob('config/includes/.*'):
hooks = glob.glob('config/includes/*') + glob.glob('config/includes/.*')
if verbose:
print('I: Copying config/includes to chroot')
cpio = subprocess.call('cd config/includes && find . | cpio -dmpu --no-preserve-owner ../../chroot', shell=True)
if glob.glob('config/includes.chroot/*') and not glob.glob('config/includes.chroot/.*'):
hooks = glob.glob('config/includes.chroot/*') + glob.glob('config/includes.chroot/.*')
if glob.glob('config/includes.chroot/*') or glob.glob('config/includes.chroot/.*'):
if verbose:
print('I: Copying config/includes.chroot to chroot')

View File

@ -81,16 +81,12 @@ def main():
# process includes
if glob.glob('config/includes/*') or glob.glob('config/includes/.*'):
hooks = glob.glob('config/includes/*') + glob.glob('config/includes/.*')
if verbose:
print('I: Copying config/includes to source')
cpio = subprocess.call('cd config/includes && find . | cpio -dmpu --no-preserve-owner ../../source', shell=True)
if glob.glob('config/includes.source/*') and not glob.glob('config/includes.source/.*'):
hooks = glob.glob('config/includes.source/*') + glob.glob('config/includes.source/.*')
if glob.glob('config/includes.source/*') or glob.glob('config/includes.source/.*'):
if verbose:
print('I: Copying config/includes.source to source')