From 744a8d6cd9ea74395f9f1d05b5bb7280fe5f73ea Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Sat, 23 May 2020 22:50:37 +0300 Subject: rsync: POSIX sed --- core/rsync/build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'core/rsync') 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" -- cgit v1.2.3