summaryrefslogtreecommitdiff
path: root/components/source_hooks
diff options
context:
space:
mode:
Diffstat (limited to 'components/source_hooks')
-rwxr-xr-xcomponents/source_hooks2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/source_hooks b/components/source_hooks
index baba70c46..f057b7f60 100755
--- a/components/source_hooks
+++ b/components/source_hooks
@@ -84,7 +84,7 @@ def main():
if verbose:
print('I: Copying config/hooks/*.hook.source to source/live-build')
- os.link(hook, os.path.join('source/live-build/' + os.path.basename(hook)), follow_symlinks=True)
+ shutil.copy(hook, os.path.join('source/live-build/' + os.path.basename(hook)), follow_symlinks=True)
if verbose:
print('I: Executing \' ' + hook + '\'')