diff options
author | getong <getong@users.noreply.github.com> | 2017-06-13 15:01:47 +0800 |
---|---|---|
committer | getong <getong@users.noreply.github.com> | 2017-06-13 15:01:47 +0800 |
commit | 5ae96a50769f815047e1e098c7fb2a4ae0e9d3aa (patch) | |
tree | ffc66bbcdecd6f328d270640906c566e4900d5e7 | |
parent | 5b7d478195a1684c601a3b5e8371bb8a5e36d1f7 (diff) |
the new added PATH value should be in the first position, in case there be other same name cmd
-rw-r--r-- | src/rebar_prv_local_install.erl | 2 |
1 files changed, 1 insertions, 1 deletions
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}. |