summaryrefslogtreecommitdiff
path: root/hadrian/bindist/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'hadrian/bindist/Makefile')
-rw-r--r--hadrian/bindist/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/hadrian/bindist/Makefile b/hadrian/bindist/Makefile
index 892bbb4f64..74d2def7f5 100644
--- a/hadrian/bindist/Makefile
+++ b/hadrian/bindist/Makefile
@@ -32,7 +32,7 @@ define installscript
# consistent naming procedure.
if [ -L wrappers/$1 ]; then echo "$1 is a symlink"; fi
@if [ -L wrappers/$1 ]; then \
- cp -P wrappers/$1 $2; \
+ cp -RP wrappers/$1 $2; \
else \
rm -f '$2' && \
$(CREATE_SCRIPT) '$2' && \