changeset 6706:f9c19d0447a2

[project @ 2007-06-13 05:55:42 by jwe]
author jwe
date Wed, 13 Jun 2007 05:57:02 +0000
parents 0ee6bda23b87
children b7e71f0fc805
files doc/interpreter/Makefile.in scripts/ChangeLog scripts/miscellaneous/mkoctfile.m
diffstat 3 files changed, 7 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/doc/interpreter/Makefile.in	Wed Jun 13 05:42:25 2007 +0000
+++ b/doc/interpreter/Makefile.in	Wed Jun 13 05:57:02 2007 +0000
@@ -63,7 +63,7 @@
 	container.txi control.txi cp-idx.txi data.txi \
 	debug.txi diffeq.txi dynamic.txi emacs.txi errors.txi eval.txi \
 	expr.txi finance.txi fn-idx.txi func.txi geometry.txi gpl.txi \
-	grammar.txi hashing.txi image.txi install.txi interp.txi \
+	grammar.txi image.txi install.txi interp.txi \
 	intro.txi io.txi linalg.txi matrix.txi nonlin.txi numbers.txi \
 	op-idx.txi optim.txi package.txi plot.txi poly.txi preface.txi \
 	quad.txi quaternion.txi set.txi signal.txi sparse.txi stats.txi \
--- a/scripts/ChangeLog	Wed Jun 13 05:42:25 2007 +0000
+++ b/scripts/ChangeLog	Wed Jun 13 05:57:02 2007 +0000
@@ -1,3 +1,7 @@
+2007-06-13  Michael Goffioul  <michael.goffioul@swing.be>
+
+	* miscellaneous/mkoctfile.m: Quote script name for call to system.
+
 2007-06-12  Michael Goffioul  <michael.goffioul@swing.be>
 
 	* plot/__pltopt1__.m: Set linestyle to "none" instead of "".
--- a/scripts/miscellaneous/mkoctfile.m	Wed Jun 13 05:42:25 2007 +0000
+++ b/scripts/miscellaneous/mkoctfile.m	Wed Jun 13 05:57:02 2007 +0000
@@ -126,7 +126,7 @@
 
   shell_script = fullfile (bindir, sprintf ("mkoctfile-%s", OCTAVE_VERSION));
 
-  cmd = shell_script;
+  cmd = strcat ("\"", shell_script, "\"");
   for i = 1:nargin
     cmd = strcat (cmd, " ", varargin{i});
   endfor
@@ -136,7 +136,7 @@
   if (status == 127)
     warning ("unable to find mkoctfile in expected location: `%s'",
 	     shell_script);
-  elseif (status != 0)
+
     warning ("mkoctfile exited with failure status");
   endif