[Pkg-octave-commit] r2723 - in octave/trunk/debian: . in

Rafael Laboissiere rafael at alioth.debian.org
Thu Mar 12 22:33:43 UTC 2009


tags 519429 pending
thanks

Author: rafael
Date: 2009-03-12 22:33:43 +0000 (Thu, 12 Mar 2009)
New Revision: 2723

Modified:
   octave/trunk/debian/changelog
   octave/trunk/debian/in/PACKAGE.conf
Log:
Use strsplit instead of the deprecated split

Modified: octave/trunk/debian/changelog
===================================================================
--- octave/trunk/debian/changelog	2009-03-12 22:20:25 UTC (rev 2722)
+++ octave/trunk/debian/changelog	2009-03-12 22:33:43 UTC (rev 2723)
@@ -1,3 +1,11 @@
+octave3.1 (3.1.54-2) UNRELEASED; urgency=low
+
+  * debian/in/PACKAGE.conf: Use strsplit instead of the deprecated split
+    when checking the path (closes: #519429).  Thanks to Francesco Potortì
+    for the patch.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 12 Mar 2009 23:32:03 +0100
+
 octave3.0 (1:3.0.4~rc5-2) unstable; urgency=low
 
   * Release to unstable

Modified: octave/trunk/debian/in/PACKAGE.conf
===================================================================
--- octave/trunk/debian/in/PACKAGE.conf	2009-03-12 22:20:25 UTC (rev 2722)
+++ octave/trunk/debian/in/PACKAGE.conf	2009-03-12 22:33:43 UTC (rev 2723)
@@ -42,10 +42,10 @@
 ### cleared after being called.
 
 function debian_remove_octave_forge
-  p = split (path (), ":");
+  p = strsplit (path (), ":");
   for i = 1 : rows (p)
-    if ! isempty (findstr (p (i, :), "octave-forge"))
-      rmpath (deblank (p (i, :)));
+    if ! isempty (findstr (p{i}, "octave-forge"))
+      rmpath (deblank (p{i}));
     endif
   endfor
 endfunction




More information about the Pkg-octave-commit mailing list