[Pkg-voip-commits] r3355 - freepbx/trunk/debian/contrib

Diego Iastrubni elcuco-guest at alioth.debian.org
Mon Apr 2 08:29:08 UTC 2007


Author: elcuco-guest
Date: 2007-04-02 08:29:07 +0000 (Mon, 02 Apr 2007)
New Revision: 3355

Modified:
   freepbx/trunk/debian/contrib/fpx-modules
Log:
use svn-buildpackage when running on svn. works better then before, and does not mess the subversion layout. 
/me happier


Modified: freepbx/trunk/debian/contrib/fpx-modules
===================================================================
--- freepbx/trunk/debian/contrib/fpx-modules	2007-04-02 08:01:15 UTC (rev 3354)
+++ freepbx/trunk/debian/contrib/fpx-modules	2007-04-02 08:29:07 UTC (rev 3355)
@@ -401,7 +401,12 @@
 				print("\n");
 			}
 
-			if (exec_cmd( "echo y | debuild -uc -us -rfakeroot &> build.log" ) == 0){
+			if ($working_in_svn)
+				$build_command = "debuild -uc -us -rfakeroot";
+			else
+				$build_command = "svn-buildpackage -rfakeroot -us -uc --svn-ignore-new";
+
+			if (exec_cmd( "echo y | $build_command &> build.log" ) == 0){
 				print( " ok.\n" );
 			}
 			else{




More information about the Pkg-voip-commits mailing list