summaryrefslogtreecommitdiff
path: root/mbld/main.myr
diff options
context:
space:
mode:
Diffstat (limited to 'mbld/main.myr')
-rw-r--r--mbld/main.myr4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbld/main.myr b/mbld/main.myr
index 3362d3a..ecd2b40 100644
--- a/mbld/main.myr
+++ b/mbld/main.myr
@@ -158,14 +158,14 @@ const findproj = {b
var dir
dir = std.getcwd()
- while dir.len > 0 && !std.sleq(dir, "/")
+ while dir.len > 0 && !std.eq(dir, "/")
if std.chdir(dir) && std.fexists("bld.proj")
b.basedir = dir
break
;;
dir = std.dirname(dir)
;;
- if dir.len > 0 && std.sleq(b.basedir, "/")
+ if dir.len > 0 && std.eq(b.basedir, "/")
std.fatal("could not find bld.proj\n")
;;
}