diff options
author | Will Andrews <will@FreeBSD.org> | 2001-01-07 17:49:52 +0000 |
---|---|---|
committer | Will Andrews <will@FreeBSD.org> | 2001-01-07 17:49:52 +0000 |
commit | e40046b15dfb9ad5c4dcaa8137ef304b829ea59b (patch) | |
tree | 608ae9c87b150f1e38d0af957c8f5103a8dacaab /net/rsync | |
parent | Fix typo. (diff) |
Clean up inefficient perl invocations; use multiple REs in the same call.
Notes
Notes:
svn path=/head/; revision=36897
Diffstat (limited to 'net/rsync')
-rw-r--r-- | net/rsync/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/net/rsync/Makefile b/net/rsync/Makefile index 4e5048545cb2..fc451450c055 100644 --- a/net/rsync/Makefile +++ b/net/rsync/Makefile @@ -34,9 +34,8 @@ MAN1= rsync.1 MAN5= rsyncd.conf.5 pre-configure: - @${PERL} -pi.orig -e 's:/etc/:${PREFIX}/etc/:g' ${WRKSRC}/rsync.h - @${PERL} -pi.orig -e 's:/etc/:${PREFIX}/etc/:g' ${WRKSRC}/rsync.1 - @${PERL} -pi.orig -e 's:/etc/:${PREFIX}/etc/:g' ${WRKSRC}/rsyncd.conf.5 + @${PERL} -pi.orig -e 's:/etc/:${PREFIX}/etc/:g' + ${WRKSRC}/rsync.h ${WRKSRC}/rsync.1 ${WRKSRC}/rsyncd.conf.5 .if defined(WITH_SSH) @${PERL} -pi.orig-rsh -e 's/"rsh"/"ssh"/g' ${WRKSRC}/rsync.h .endif |