[Pkg-octave-commit] [SCM] Debian packaging for octave-pkg-dev branch, master, updated. debian/1.0.0-7-g1048b08
Rafael Laboissiere
rafael at laboissiere.net
Sat Mar 10 09:17:11 UTC 2012
The following commit has been merged in the master branch:
commit 68a9303b7857057905b1b9a8b3f959ccc2eaf133
Author: Rafael Laboissiere <rafael at laboissiere.net>
Date: Sat Mar 10 02:47:24 2012 +0100
Fix regexp for finding the version number
Git-Dch: Ignore
diff --git a/octave-pkg.mk b/octave-pkg.mk
index 7c8a914..2d5e71c 100644
--- a/octave-pkg.mk
+++ b/octave-pkg.mk
@@ -55,7 +55,7 @@ install/$(package):: \
check-version:
@echo -n "Checking the Octave version... "
@dep=$$(grep Depends DESCRIPTION \
- | perl -ne 'if (/octave\s+\(>=(.*)\)/) {print $$1}') ; \
+ | perl -ne 'if (/octave\s+\(>=\s*([.\d]+)\)/) {print $$1}') ; \
if [ "$$dep" != "" ] ; then \
dpkg --compare-versions $(version) ge $$dep \
&& (echo ok ; true) \
--
Debian packaging for octave-pkg-dev
More information about the Pkg-octave-commit
mailing list