From 5c62dc78baa739ab47c2e9ee4b55139b800f9889 Mon Sep 17 00:00:00 2001 From: Weimin Yu Date: Wed, 20 Mar 2024 09:12:59 -0400 Subject: [PATCH] Fix nom_build command (#2383) --- config/nom_build.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/config/nom_build.py b/config/nom_build.py index 8894412d2..05a6c9ab9 100644 --- a/config/nom_build.py +++ b/config/nom_build.py @@ -270,8 +270,7 @@ def generate_gradle_properties() -> str: def get_root() -> str: """Returns the root of the nomulus build tree.""" cur_dir = os.getcwd() - if not os.path.exists(os.path.join(cur_dir, 'buildSrc')) or \ - not os.path.exists(os.path.join(cur_dir, 'core')) or \ + if not os.path.exists(os.path.join(cur_dir, 'core')) or \ not os.path.exists(os.path.join(cur_dir, 'gradle.properties')): raise Exception('You must run this script from the root directory') return cur_dir