aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-05-23 22:50:37 +0300
committerCem Keylan <cem@ckyln.com>2020-05-23 22:50:37 +0300
commit744a8d6cd9ea74395f9f1d05b5bb7280fe5f73ea (patch)
tree770120d30e9da8fdcfe5656e4b66f96f0ec9aa6a /core
parent12432c11ba7f7b317cd090eccd0711ccdf294327 (diff)
downloadrepository-744a8d6cd9ea74395f9f1d05b5bb7280fe5f73ea.tar.gz
rsync: POSIX sed
Diffstat (limited to 'core')
-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"