--- a/sbsv2/raptor/python/raptor.py Mon Nov 23 21:12:30 2009 +0000
+++ b/sbsv2/raptor/python/raptor.py Sun Nov 29 16:09:02 2009 +0000
@@ -575,10 +575,16 @@
def SetExportOnly(self, TrueOrFalse):
self.doExportOnly = TrueOrFalse
+ if not self.doExport:
+ self.Error("The --noexport and --export-only options are incompatible - won't to do anything useful")
+ return False
return True
def SetNoExport(self, TrueOrFalse):
self.doExport = not TrueOrFalse
+ if self.doExportOnly:
+ self.Error("The --noexport and --export-only options are incompatible - won't to do anything useful")
+ return False
return True
def SetNoBuild(self, TrueOrFalse):