[rtems commit] build: Report caching errors
Sebastian Huber
sebh at rtems.org
Wed Oct 28 06:33:50 UTC 2020
Module: rtems
Branch: master
Commit: b052e3aefa97b85743ee1a367c65b71f0fbcf76c
Changeset: http://git.rtems.org/rtems/commit/?id=b052e3aefa97b85743ee1a367c65b71f0fbcf76c
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Wed Oct 28 06:34:11 2020 +0100
build: Report caching errors
The ctx.fatal() method uses an exception to stop the build. Do not
catch it.
---
wscript | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/wscript b/wscript
index ce71efc..432d705 100755
--- a/wscript
+++ b/wscript
@@ -1109,9 +1109,9 @@ def is_one_item_newer(ctx, path, mtime):
def must_update_item_cache(ctx, path, cache_file):
try:
mtime = os.path.getmtime(cache_file)
- return is_one_item_newer(ctx, path, mtime)
except:
return True
+ return is_one_item_newer(ctx, path, mtime)
def load_from_yaml(load, ctx, data_by_uid, base, path):
More information about the vc
mailing list