diff options
author | Alexis Christoforides <alexis@thenull.net> | 2016-10-15 00:33:43 +0300 |
---|---|---|
committer | Alexis Christoforides <alexis@thenull.net> | 2016-10-15 00:33:43 +0300 |
commit | 89f310184bbe2f062d2991f70f58b3b9a93f2b6d (patch) | |
tree | 4ebd9056df980ad6fd7c171b2828ce5e432160f0 /bockbuild.py | |
parent | c9e3350247e7d88fed1b769afdd759a8017888e0 (diff) |
Make first builds easier by not starting from scratch on failure
Slightly unsafe but onboarding but getting a first build is more important
Diffstat (limited to 'bockbuild.py')
-rwxr-xr-x | bockbuild.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bockbuild.py b/bockbuild.py index c161121..93d4d0f 100755 --- a/bockbuild.py +++ b/bockbuild.py @@ -274,6 +274,8 @@ class Bockbuild: self.root, self.profile_name) + '_env.sh' self.env.write_source_script(self.env_script) + if not os.path.exists (self.env_file): + return False self.tracked_env.extend(self.env.serialize()) return is_changed(self.tracked_env, self.env_file) |