Orion Poplawski wrote:
This affects the test_octave.sh script:

t = split("$options", "-"); t(1,:)="";

if $options in empty, which it normally is I believe.

The attached seems to work.

--
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  or...@cora.nwra.com
Boulder, CO 80301              http://www.cora.nwra.com
--- plplot-5.9.1/plplot_test/test_octave.sh.in.octave	2008-12-14 17:29:03.000000000 -0700
+++ plplot-5.9.1/plplot_test/test_octave.sh.in	2008-12-19 13:23:09.000000000 -0700
@@ -47,7 +47,8 @@
 endif
 
 plplot_stub;
-t = split("$options", "-"); t(1,:)="";
+t = split("$options", "-");
+if (t); t(1,:)=""; endif
 for i=1:rows(t)
     tt = deblank (t(i,:)); len = length(tt);
     ix = index(tt," ");
@@ -77,7 +78,8 @@
     if (verbose_test)
       printf("%s\n",cmd);
     endif
-    t = split("$options", "-"); t(1,:)="";
+    t = split("$options", "-");
+    if (t); t(1,:)=""; endif
     for j=1:rows(t)
         tt = deblank (t(j,:)); len = length(tt);
 	ix = index(tt," ");
------------------------------------------------------------------------------
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to