Skip to content

Commit

Permalink
Fix bashisms (source FILE -> . FILE)
Browse files Browse the repository at this point in the history
replace shebang-lines /bin/bash -> /bin/sh
bump portrevision (changed files)

based on:
PR: ports/147472
Submitted by: Olli Hauer <[email protected]>

Approved by: miwi (mentor)
  • Loading branch information
mandree committed Jun 5, 2010
1 parent 421cfa4 commit 5255c87
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions security/openvpn/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

PORTNAME= openvpn
DISTVERSION= 2.1.1
PORTREVISION= 1
CATEGORIES= security net
# MASTER_SITES points to hosts in distinct data centers,
# so just one MASTER_SITES entry should be OK.
Expand Down Expand Up @@ -73,6 +74,9 @@ CONFIGURE_ARGS+= --disable-pkcs11
.endif

post-patch:
@${FIND} ${WRKSRC}/easy-rsa/?.0 -type f \
-exec ${REINPLACE_CMD} -e 's;#!/bin/bash;#!/bin/sh;' \
-e 's,source ./vars,. ./vars,' \{\} +
@${FIND} ${WRKSRC} -name \*.orig -delete
@${FIND} ${WRKSRC} -name \*.bak -delete

Expand Down

0 comments on commit 5255c87

Please sign in to comment.