[codechecker] push by surenspost - Fixing a break in install.py on 2010-11-24 17:04 GMT

0 views
Skip to first unread message

codec...@googlecode.com

unread,
Nov 24, 2010, 12:04:53 PM11/24/10
to codec...@googlegroups.com
Revision: b5b8407e5d
Author: surenspost
Date: Wed Nov 24 08:33:57 2010
Log: Fixing a break in install.py
http://code.google.com/p/codechecker/source/detail?r=b5b8407e5d

Modified:
/install.py

=======================================
--- /install.py Wed Nov 24 03:34:52 2010
+++ /install.py Wed Nov 24 08:33:57 2010
@@ -33,16 +33,6 @@
---------------------------------------------------------------------------
''' )
exit(1)
-
-#Copy the settings.py from sample file and ask to populate the mysql data
-shutil.copy( os.path.join( os.getcwd(), 'conf/settings.conf' ),
- os.path.join( backend_conf, 'settings.conf' ) )
-
-# copy all python modules
-ret_code = os.system( "python setup.py install" )
-if not ret_code == 0 :
- sys.exit(ret_code)
-

# create etc/checker conf directory if not exists already
if not os.path.exists( backend_conf ):
@@ -55,6 +45,16 @@
# create media directory
if not os.path.exists( media_dir ) :
os.mkdir( media_dir )
+
+#Copy the settings.py from sample file and ask to populate the mysql data
+shutil.copy( os.path.join( os.getcwd(), 'conf/settings.conf' ),
+ os.path.join( backend_conf, 'settings.conf' ) )
+
+# copy all python modules
+ret_code = os.system( "python setup.py install" )
+if not ret_code == 0 :
+ sys.exit(ret_code)
+

#copy the codechecker.conf to @prefix/etc/checker
shutil.copy( os.path.join( os.getcwd(), 'conf/codechecker.conf'),

Reply all
Reply to author
Forward
0 new messages