summaryrefslogtreecommitdiff
path: root/components/source-includes
diff options
context:
space:
mode:
Diffstat (limited to 'components/source-includes')
-rwxr-xr-xcomponents/source-includes6
1 files changed, 1 insertions, 5 deletions
diff --git a/components/source-includes b/components/source-includes
index f1e022d8d..9155970ea 100755
--- a/components/source-includes
+++ b/components/source-includes
@@ -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')