[Pkg-octave-commit] r1455 - in octave-pkg-dev/trunk: . debian

Rafael Laboissiere rafael at alioth.debian.org
Sat Mar 22 12:28:18 UTC 2008


Author: rafael
Date: 2008-03-22 12:28:18 +0000 (Sat, 22 Mar 2008)
New Revision: 1455

Modified:
   octave-pkg-dev/trunk/debian/changelog
   octave-pkg-dev/trunk/get-oct-pkg-src.pl
Log:
Fix regular expression for find tarballs in the URLs

Modified: octave-pkg-dev/trunk/debian/changelog
===================================================================
--- octave-pkg-dev/trunk/debian/changelog	2008-03-22 12:23:07 UTC (rev 1454)
+++ octave-pkg-dev/trunk/debian/changelog	2008-03-22 12:28:18 UTC (rev 1455)
@@ -2,6 +2,7 @@
 
   * octave-pkg-dev.pl.in: Automatically add dependency relations to other
     octave-forge packages by inspecting the DESCRIPTION file (if present)
+  * get-oct-pkg-src.pl: Fix regular expression for find tarballs in the URLs
 
  -- Rafael Laboissiere <rafael at debian.org>  Sat, 22 Mar 2008 12:58:59 +0100
 

Modified: octave-pkg-dev/trunk/get-oct-pkg-src.pl
===================================================================
--- octave-pkg-dev/trunk/get-oct-pkg-src.pl	2008-03-22 12:23:07 UTC (rev 1454)
+++ octave-pkg-dev/trunk/get-oct-pkg-src.pl	2008-03-22 12:28:18 UTC (rev 1455)
@@ -56,7 +56,7 @@
 }
 
 ### Extract the URL for the current package
-my $download = (grep {/$pkgname/} @PKGS) [0];
+my $download = (grep {m {/$pkgname}} @PKGS) [0];
 
 $download ne ""
   or die "$prog:E: Tarball for $pkgname not found at SF site\n";




More information about the Pkg-octave-commit mailing list