summaryrefslogtreecommitdiff
path: root/scripts/functions
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/functions')
-rw-r--r--scripts/functions4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/functions b/scripts/functions
index 6429aa8..8665346 100644
--- a/scripts/functions
+++ b/scripts/functions
@@ -1132,7 +1132,9 @@ CT_Patch() {
eval ${cfg}="${CT_LIB_DIR}/scripts/${cfg/_/.}"
[ -e "${CT_TOP_DIR}/scripts/${cfg/_/.}" ] && eval ${cfg}="${CT_TOP_DIR}/scripts/${cfg/_/.}"
# Can't use CT_DoExecLog because of the '{} \;' to be passed un-mangled to find
- find . -type f -name "${cfg/_/.}" -exec cp -v "${!cfg}" {} \; |CT_DoLog ALL
+ find . -type f -name "${cfg/_/.}" \
+ -exec chmod -v u+w {} \; \
+ -exec cp -v "${!cfg}" {} \; |CT_DoLog ALL
done
fi