[Fusionforge-commits] r15948 - in branches/Branch_5_1: . src/install

Roland Mas lolando at fusionforge.org
Thu Jul 5 09:04:04 CEST 2012


Author: lolando
Date: 2012-07-05 09:04:04 +0200 (Thu, 05 Jul 2012)
New Revision: 15948

Modified:
   branches/Branch_5_1/
   branches/Branch_5_1/src/install/install3
Log:
More logging to try and debug the buildbot's failures

Modified: branches/Branch_5_1/src/install/install3
===================================================================
--- branches/Branch_5_1/src/install/install3	2012-07-04 20:03:01 UTC (rev 15947)
+++ branches/Branch_5_1/src/install/install3	2012-07-05 07:04:04 UTC (rev 15948)
@@ -260,7 +260,7 @@
 	case $pgv in
 		7.*|8.1*|8.2*)
 			msg green " * Loading tsearch2 Database Into $gforge_db DB"
-			su - postgres -c "psql $gforge_db < $tsearch" >> /tmp/gforge-import.log
+			su - postgres -c "psql $gforge_db < $tsearch" >> /tmp/gforge-import.log 2>&1
 			for table in pg_ts_cfg pg_ts_cfgmap pg_ts_dict pg_ts_parser
 			do
 				su - postgres -c "psql $gforge_db -c \"GRANT ALL on $table TO $gforge_user\";"
@@ -270,10 +270,10 @@
 	esac
 
 	msg green " * Loading FusionForge DB"
-	su $susufix $gforge_user -c "psql $gforge_db < $fusionforge_src_dir/db/gforge.sql" >> /tmp/gforge-import.log
+	su $susufix $gforge_user -c "psql $gforge_db < $fusionforge_src_dir/db/gforge.sql" >> /tmp/gforge-import.log 2>&1
 
 	msg green " * Running php db/upgrade-db.php"
-        php $fusionforge_src_dir/db/upgrade-db.php >> /tmp/gforge-upgrade.log
+        php $fusionforge_src_dir/db/upgrade-db.php >> /tmp/gforge-upgrade.log 2>&1
 
 
 	if [ -z "$FFORGE_ADMIN_USER" ]




More information about the Fusionforge-commits mailing list