summaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-05-29 10:34:57 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-05-29 10:34:57 +0000
commit5bf94309a6e1c734717f8c65b656381a03de636b (patch)
tree8018d3330acf49a9d8ff3d7c690ae3d60c3ef23e /Mk
parentRemove the leftovers directories (diff)
Do not leave .bak files after converting shebangs
Notes
Notes: svn path=/head/; revision=319366
Diffstat (limited to 'Mk')
-rw-r--r--Mk/Uses/shebangfix.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/Uses/shebangfix.mk b/Mk/Uses/shebangfix.mk
index 1cc36d250dde..dccaef13b76a 100644
--- a/Mk/Uses/shebangfix.mk
+++ b/Mk/Uses/shebangfix.mk
@@ -48,6 +48,6 @@ pre-patch: fix-shebang
fix-shebang:
@cd ${WRKSRC}; \
- ${ECHO_CMD} ${SHEBANG_FILES} | ${XARGS} ${REINPLACE_CMD} ${_SHEBANG_REINPLACE_ARGS}
+ ${ECHO_CMD} ${SHEBANG_FILES} | ${XARGS} ${SED} -i '' ${_SHEBANG_REINPLACE_ARGS}
.endif