diff scripts/testfun/rundemos.m @ 10549:95c3e38098bf

Untabify .m scripts
author Rik <code@nomad.inbox5.com>
date Fri, 23 Apr 2010 11:28:50 -0700
parents eb63fbe60fab
children d1978e7364ad
line wrap: on
line diff
--- a/scripts/testfun/rundemos.m
+++ b/scripts/testfun/rundemos.m
@@ -32,9 +32,9 @@
     else
       fullname = find_dir_in_path (directory);
       if (! isempty (fullname))
-	dirs = {fullname};
+        dirs = {fullname};
       else
-	error ("rundemos: expecting argument to be a directory name");
+        error ("rundemos: expecting argument to be a directory name");
       endif
     endif
   else
@@ -56,10 +56,10 @@
     if (length (f) > 2 && strcmp (f((end-1):end), ".m"))
       f = fullfile (directory, f);
       if (has_demos (f))
-	demo (f);
-	if (i != numel (flist))
-	  input ("Press <enter> to continue: ", "s");
-	endif
+        demo (f);
+        if (i != numel (flist))
+          input ("Press <enter> to continue: ", "s");
+        endif
       endif
     endif
   endfor