summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Script
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2004-09-20 20:25:31 (GMT)
committerSteven Knight <knight@baldmt.com>2004-09-20 20:25:31 (GMT)
commitcb7b279bed4fdc08ff99b8f662f2aeca4ec3f257 (patch)
tree6f68448cf9e1390d253fead8cd30305641c79e0a /src/engine/SCons/Script
parentc5092bf80ca6b2b21e68547a17755bed2c1538f8 (diff)
downloadSCons-cb7b279bed4fdc08ff99b8f662f2aeca4ec3f257.zip
SCons-cb7b279bed4fdc08ff99b8f662f2aeca4ec3f257.tar.gz
SCons-cb7b279bed4fdc08ff99b8f662f2aeca4ec3f257.tar.bz2
Fix handling when BuildDir exists but is unwriteable. Add Stop. to messages at SConscript-read time. (Kevin Quick)
Diffstat (limited to 'src/engine/SCons/Script')
-rw-r--r--src/engine/SCons/Script/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/SCons/Script/__init__.py b/src/engine/SCons/Script/__init__.py
index 160fae3..4832b02 100644
--- a/src/engine/SCons/Script/__init__.py
+++ b/src/engine/SCons/Script/__init__.py
@@ -912,9 +912,9 @@ def _main(args, parser):
# couldn't be copied in to the BuildDir. Since we're just
# reading SConscript files and haven't started building
# things yet, stop regardless of whether they used -i or -k
- # or anything else, but don't say "Stop." on the message.
+ # or anything else.
global exit_status
- sys.stderr.write("scons: *** %s\n" % e)
+ sys.stderr.write("scons: *** %s Stop.\n" % e)
exit_status = 2
sys.exit(exit_status)
global sconscript_time