diff options
Diffstat (limited to 'xmake/core/main.lua')
| -rw-r--r-- | xmake/core/main.lua | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/xmake/core/main.lua b/xmake/core/main.lua index e813c849a..478f0181f 100644 --- a/xmake/core/main.lua +++ b/xmake/core/main.lua @@ -202,14 +202,6 @@ function main._init() xmake._PROJECT_DIR = path.join(os.tmpdir(), "local") xmake._PROJECT_FILE = path.join(xmake._PROJECT_DIR, xmake._NAME .. ".lua") end - - -- add the directory of the program file (xmake) to $PATH environment - local programfile = os.programfile() - if programfile and os.isfile(programfile) then - os.addenv("PATH", path.directory(programfile)) - else - os.addenv("PATH", os.programdir()) - end return true end |
