From 5ae96a50769f815047e1e098c7fb2a4ae0e9d3aa Mon Sep 17 00:00:00 2001 From: getong Date: Tue, 13 Jun 2017 15:01:47 +0800 Subject: the new added PATH value should be in the first position, in case there be other same name cmd --- src/rebar_prv_local_install.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rebar_prv_local_install.erl b/src/rebar_prv_local_install.erl index 1b58859..0b30fd4 100644 --- a/src/rebar_prv_local_install.erl +++ b/src/rebar_prv_local_install.erl @@ -90,6 +90,6 @@ extract_escript(State, ScriptPath) -> uid=Uid, gid=Gid}), - ?INFO("Add to $PATH for use: export PATH=$PATH:~s", [BinDir]), + ?INFO("Add to $PATH for use: export PATH=~s:$PATH", [BinDir]), {ok, State}. -- cgit v1.1