aboutsummaryrefslogtreecommitdiff
path: root/core/rsync
diff options
context:
space:
mode:
Diffstat (limited to 'core/rsync')
-rwxr-xr-xcore/rsync/build3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/rsync/build b/core/rsync/build
index 8b4a7e2c..5aadaca9 100755
--- a/core/rsync/build
+++ b/core/rsync/build
@@ -2,7 +2,8 @@
# Swap to awk script instead of perl script
# for building rsync. See files/mkproto.awk.
-sed -i 's/perl/awk -f/;s/mkproto.pl/mkproto.awk/' Makefile.in
+sed 's/perl/awk -f/;s/mkproto.pl/mkproto.awk/' Makefile.in > _
+cat _ > Makefile.in; rm -f _
export CFLAGS="-static $CFLAGS"