diff options
Diffstat (limited to 'xmake/plugins/project/makefile/makefile.lua')
| -rw-r--r-- | xmake/plugins/project/makefile/makefile.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/plugins/project/makefile/makefile.lua b/xmake/plugins/project/makefile/makefile.lua index 09b6d2e0f..d036c7240 100644 --- a/xmake/plugins/project/makefile/makefile.lua +++ b/xmake/plugins/project/makefile/makefile.lua @@ -387,7 +387,7 @@ end function make(outputdir) -- enter project directory - local olddir = os.cd(project.directory()) + local oldir = os.cd(os.projectdir()) -- remove the log makefile first os.rm(_logfile()) @@ -402,5 +402,5 @@ function make(outputdir) makefile:close() -- leave project directory - os.cd(olddir) + os.cd(oldir) end |
