summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-03-04 12:03:05 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2021-03-04 12:03:05 -0500
commitcebc5533d7704bdfc7b8dc0bf9dbdb6755685211 (patch)
tree73f97c38f202c5aee445c5c9976b75358eb06c33
parent678e58333cb1256b8a935b40acd45467e1533edd (diff)
fix searching for make.bat, etc.
-rw-r--r--build.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/build.c b/build.c
index 6ae1d64..7f8e9bf 100644
--- a/build.c
+++ b/build.c
@@ -49,6 +49,7 @@ static void build_start(Ted *ted) {
char *command = settings->build_default_command;
+ change_directory(ted->cwd);
#if _WIN32
if (fs_file_exists("make.bat")) {
command = "make.bat";