changeset 162:01e9707a2fb0

replace '.' with '/' when searching for modules git-svn-id: https://luan-java.googlecode.com/svn/trunk@163 21e917c8-12df-6dd8-5cb6-c86387c605b9
author fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9>
date Fri, 20 Jun 2014 08:53:44 +0000
parents d310ebf4d6e7
children 3c95a2291d64
files src/luan/lib/PackageLib.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/luan/lib/PackageLib.java	Thu Jun 19 10:44:20 2014 +0000
+++ b/src/luan/lib/PackageLib.java	Fri Jun 20 08:53:44 2014 +0000
@@ -92,6 +92,7 @@
 	};
 
 	public static String search_path(String name,String path) {
+		name = name.replace('.','/');
 		for( String s : path.split(";") ) {
 			String file = s.replaceAll("\\?",name);
 			if( Utils.exists(file) )