[Groonga-commit] groonga/groonga [master] apt yum: generate log file for non parallel build

Back to archive index

null+****@clear***** null+****@clear*****
2012年 6月 22日 (金) 11:13:34 JST


HAYASHI Kentaro	2012-06-22 11:13:34 +0900 (Fri, 22 Jun 2012)

  New Revision: 3c944e227d97e56662625511a3969908f51812c3
  https://github.com/groonga/groonga/commit/3c944e227d97e56662625511a3969908f51812c3

  Log:
    apt yum: generate log file for non parallel build

  Modified files:
    packages/apt/build-in-chroot.sh
    packages/yum/build-in-chroot.sh

  Modified: packages/apt/build-in-chroot.sh (+2 -1)
===================================================================
--- packages/apt/build-in-chroot.sh    2012-06-22 11:08:33 +0900 (ba8fb00)
+++ packages/apt/build-in-chroot.sh    2012-06-22 11:13:34 +0900 (819ff67)
@@ -122,7 +122,8 @@ for architecture in $ARCHITECTURES; do
 	if test "$parallel" = "yes"; then
 	    build $architecture $code_name &
 	else
-	    build $architecture $code_name
+	    build_log=/tmp/build-$code_name-$architecture.log
+	    build $architecture $code_name 2>&1 | tee $build_log
 	fi;
     done;
 done

  Modified: packages/yum/build-in-chroot.sh (+2 -1)
===================================================================
--- packages/yum/build-in-chroot.sh    2012-06-22 11:08:33 +0900 (b2bf279)
+++ packages/yum/build-in-chroot.sh    2012-06-22 11:13:34 +0900 (8953c51)
@@ -167,7 +167,8 @@ for architecture in $ARCHITECTURES; do
 	    if test "$parallel" = "yes"; then
 		build $architecture $distribution $distribution_version &
 	    else
-		build $architecture $distribution $distribution_version
+		build_log=/tmp/build-$distribution-$distribution_version-$architecture.log
+		build $architecture $distribution $distribution_version 2>&1 | tee $build_log
 	    fi;
 	done;
     done;
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
Descargar 



Groonga-commit メーリングリストの案内
Back to archive index