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