- Make the internal to_String() function more efficient.
+ - Make the error message the same as other build errors when there's a
+ problem unlinking a target file in preparation for it being built.
+
RELEASE 0.11 - Tue, 11 Feb 2003 05:24:33 -0600
if self.exists():
if self.has_builder() and not self.precious:
- Unlink(self, None, None)
+ try:
+ Unlink(self, None, None)
+ except OSError, e:
+ raise SCons.Errors.BuildError(node = self,
+ errstr = e.strerror)
if hasattr(self, '_exists'):
delattr(self, '_exists')
else:
f = open(f1_out, 'rb')
test.run(arguments = f1_out,
- stderr="scons: *** [Errno 13] Permission denied: '%s'\n" % os.path.join('export', 'f1.out'),
+ stderr="scons: *** [%s] Permission denied\n" % os.path.join('export', 'f1.out'),
status=2)
f.close()