[seed] [libseed] When importing, search "." _last_



commit 36800fa11648026654c18ff9e38e023ad870967d
Author: Tim Horton <hortont424 gmail com>
Date:   Fri Jun 26 17:31:44 2009 -0400

    [libseed] When importing, search "." _last_

 extensions/Seed.js.in |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/extensions/Seed.js.in b/extensions/Seed.js.in
index fd1e639..afbd371 100644
--- a/extensions/Seed.js.in
+++ b/extensions/Seed.js.in
@@ -177,8 +177,7 @@ if(!imports.searchPath || (imports.searchPath.length == 0))
 	                       "/usr/local/lib/seed",
 	                       "/usr/local/share/seed",
 	                       "/usr/lib/seed",
-	                       "/usr/share/seed",
-	                       "."];
+	                       "/usr/share/seed" ];
 
 	if(Seed.argv.length > 1)
 	{
@@ -187,4 +186,6 @@ if(!imports.searchPath || (imports.searchPath.length == 0))
 		if(script_path && script_path != "")
 			imports.searchPath.push(script_path);
 	}
-}
\ No newline at end of file
+
+	imports.searchPath.push(".");
+}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]