summaryrefslogtreecommitdiff
path: root/components/chroot-includes
diff options
context:
space:
mode:
Diffstat (limited to 'components/chroot-includes')
-rwxr-xr-xcomponents/chroot-includes4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/chroot-includes b/components/chroot-includes
index 19c519af8..a961db6cf 100755
--- a/components/chroot-includes
+++ b/components/chroot-includes
@@ -83,13 +83,13 @@ def main():
if verbose:
print('I: Copying config/includes to chroot')
- cpio = subprocess.call('cd config/includes && find . | cpio -dmpu --no-preserve-owner ../../chroot', shell=True)
+ cpio = subprocess.check_call('cd config/includes && find . | cpio -dmpu --no-preserve-owner ../../chroot', shell=True)
if glob.glob('config/includes.chroot/*') or glob.glob('config/includes.chroot/.*'):
if verbose:
print('I: Copying config/includes.chroot to chroot')
- cpio = subprocess.call('cd config/includes.chroot && find . | cpio -dmpu --no-preserve-owner ../../chroot', shell=True)
+ cpio = subprocess.check_call('cd config/includes.chroot && find . | cpio -dmpu --no-preserve-owner ../../chroot', shell=True)
# stagefile
os.makedirs('.build', exist_ok=True)