[Oar-commits] r2702 - trunk/Oargrid

bzizou at users.gforge.inria.fr bzizou at users.gforge.inria.fr
Thu Mar 11 15:46:33 CET 2010


Author: bzizou
Date: 2010-03-11 15:46:32 +0100 (Thu, 11 Mar 2010)
New Revision: 2702

Modified:
   trunk/Oargrid/Makefile
   trunk/Oargrid/oargrid_lib.pm
Log:
Bugfix #9768: Make deb now prevents from mismatch version numbers

Modified: trunk/Oargrid/Makefile
===================================================================
--- trunk/Oargrid/Makefile	2010-03-08 21:17:03 UTC (rev 2701)
+++ trunk/Oargrid/Makefile	2010-03-11 14:46:32 UTC (rev 2702)
@@ -91,6 +91,7 @@
 	-rmdir $(DESTDIR)/$(OARGRIDDIR)
 
 deb:
+	@DEB_VERSION=`head -1 debian/changelog|awk -F"(" '{print $$2}' |awk -F")" '{print $$1}'`;VERSION=`grep "Version = " oargrid_lib.pm|awk -F"\"" '{print $$2}'`;[ "$$VERSION" = "$$DEB_VERSION" ] || ( echo "***** ERROR: Version number ($$VERSION) in oargrid_lib mismatch debian/changelog ($$DEB_VERSION)! ******" ; exit 1 )
 	debuild -rfakeroot -us -uc
 
 clean: 

Modified: trunk/Oargrid/oargrid_lib.pm
===================================================================
--- trunk/Oargrid/oargrid_lib.pm	2010-03-08 21:17:03 UTC (rev 2701)
+++ trunk/Oargrid/oargrid_lib.pm	2010-03-11 14:46:32 UTC (rev 2702)
@@ -11,7 +11,7 @@
 
 my $commandTimeout = 60;
 my $configFileName = "oargrid.conf";
-my $Version = "2.2.3";
+my $Version = "2.2.4";
 
 sub get_config_file_name(){
     return($configFileName);




More information about the Oar-commits mailing list