[Zope-Checkins] CVS: Zope/inst - configure.py:1.1.4.2

Fred L. Drake, Jr. fred@zope.com
Fri, 14 Feb 2003 11:19:41 -0500


Update of /cvs-repository/Zope/inst
In directory cvs.zope.org:/tmp/cvs-serv12299

Modified Files:
      Tag: new-install-branch
	configure.py 
Log Message:
- make some of the error codes more traditional
- normalize whitespace


=== Zope/inst/configure.py 1.1.4.1 => 1.1.4.2 ===
--- Zope/inst/configure.py:1.1.4.1	Thu Feb 13 18:13:48 2003
+++ Zope/inst/configure.py	Fri Feb 14 11:19:41 2003
@@ -24,7 +24,7 @@
     TARGET_DIR = '/opt/Zope-%s' % versions.ZOPE_MAJOR_VERSION
     IN_MAKEFILE = 'Makefile.in'
     MAKE_COMMAND='make'
-    
+
 def main():
     # below assumes this script is in the BUILD_DIR/inst directory
     BUILD_DIR=os.path.abspath(os.path.split(os.path.dirname(sys.argv[0]))[0])
@@ -139,12 +139,12 @@
 you've installed the zlib module.
 """
             )
-        sys.exit(127)
+        sys.exit(1)
     except:
         print 'An error occurred while trying to import zlib!'
         import traceback; traceback.print_exc()
-        sys.exit(127)
-        
+        sys.exit(1)
+
 def test_largefile():
     OK=0
     f = open(sys.argv[0], 'r')
@@ -169,8 +169,7 @@
 size ever exceeds 2GB.
 """
         )
-    sys.exit(127)
+    sys.exit(1)
 
 if __name__ == '__main__':
     main()
-