diff scripts/miscellaneous/mkoctfile.m @ 6706:f9c19d0447a2

[project @ 2007-06-13 05:55:42 by jwe]
author jwe
date Wed, 13 Jun 2007 05:57:02 +0000
parents 9180be9d3d08
children b319df52ba87
line wrap: on
line diff
--- 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