Index: head/Mk/Uses/shebangfix.mk =================================================================== --- head/Mk/Uses/shebangfix.mk +++ head/Mk/Uses/shebangfix.mk @@ -94,7 +94,8 @@ .endif .if defined(SHEBANG_FILES) @cd ${WRKSRC}; \ - ${ECHO_CMD} ${SHEBANG_FILES} | ${XARGS} ${SED} -i '' ${_SHEBANG_REINPLACE_ARGS} + ${FIND} ${SHEBANG_FILES} -type f \ + -exec ${SED} -i '' ${_SHEBANG_REINPLACE_ARGS} {} + .endif .endif