summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTitanSnow <[email protected]>2017-05-25 07:01:48 +0800
committerTitanSnow <[email protected]>2017-05-25 07:01:48 +0800
commita00ed183e738749f8c5068a3fe56dab54b4fb961 (patch)
tree595b140aaea8256b2a268726b62ebf2eab79b1c9
parentf1e3e370136bcea36ae97e58680ab9d6aa4cba6f (diff)
Revert "add xmake to path"
This reverts commit 89e2cc76f4e4cfd45a089b4967e02756ca8f52cb.
-rw-r--r--xmake/core/main.lua5
1 files changed, 0 insertions, 5 deletions
diff --git a/xmake/core/main.lua b/xmake/core/main.lua
index 6788b004e..cda338294 100644
--- a/xmake/core/main.lua
+++ b/xmake/core/main.lua
@@ -155,11 +155,6 @@ Or you can add `--root` option to allow run as root temporarily.
end
end
- -- add xmake to path
- if xmake._EXECUTABLE_PATH then
- os.addenv("PATH", path.directory(xmake._EXECUTABLE_PATH))
- end
-
-- start profiling
if option.get("profile") then
profiler:start()