diff scripts/testfun/rundemos.m @ 18104:889e2c083253 gui-release

maint: backout cset ff05d5b70411 on gui-release branch.
author Rik <rik@octave.org>
date Thu, 05 Dec 2013 11:36:10 -0800
parents 1e27079409bf
children 2217bc116aa9
line wrap: on
line diff
--- a/scripts/testfun/rundemos.m	Thu Dec 05 11:31:13 2013 -0800
+++ b/scripts/testfun/rundemos.m	Thu Dec 05 11:36:10 2013 -0800
@@ -42,7 +42,7 @@
       if (directory(end) == '/' || directory(end) == '\')
         directory(end) = [];
       endif
-      fullname = dir_in_loadpath (directory);
+      fullname = find_dir_in_path (directory);
       if (isempty (fullname))
         error ("rundemos: DIRECTORY argument must be a valid pathname");
       endif