aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2015-07-21 23:56:34 +0800
committerolgeni <olgeni@FreeBSD.org>2015-07-21 23:56:34 +0800
commit15abfd092fe62bcdc31c0f9452c95400301eda7c (patch)
treef6768b7cac9d6b74e4621c634a24884c9b406003 /Mk
parentd5eca60a2d44023700bd486af54bd72f1f63b362 (diff)
downloadfreebsd-ports-gnome-15abfd092fe62bcdc31c0f9452c95400301eda7c.tar.gz
freebsd-ports-gnome-15abfd092fe62bcdc31c0f9452c95400301eda7c.tar.zst
freebsd-ports-gnome-15abfd092fe62bcdc31c0f9452c95400301eda7c.zip
Fix regular expressions for "./rebar" and "./rebar3".
Diffstat (limited to 'Mk')
-rw-r--r--Mk/Uses/erlang.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/Uses/erlang.mk b/Mk/Uses/erlang.mk
index 2fa42f6c1825..ac22d99da6da 100644
--- a/Mk/Uses/erlang.mk
+++ b/Mk/Uses/erlang.mk
@@ -94,7 +94,7 @@ post-patch-erlang:
| ${XARGS} ${REINPLACE_CMD} -i '' -e "s@%%PORTVERSION%%@${PORTVERSION}@"
# Always try to build with the system version of rebar and rebar3
@if [ -f ${WRKSRC}/rebar.config ]; then \
- ${REINPLACE_CMD} -i '' -e "s@./rebar3@${REBAR3_CMD}@; s@./rebar@${REBAR_CMD}@" \
+ ${REINPLACE_CMD} -i '' -e "s@\./rebar3@${REBAR3_CMD}@; s@\./rebar@${REBAR_CMD}@" \
${WRKSRC}/rebar.config; \
fi
@${RM} -f ${WRKSRC}/src/*.orig ${WRKSRC}/include/*.orig