metatools/sysdeftools/rootsysdef.pl
changeset 664 44b0e894b7ab
parent 660 66ff3e731c60
child 663 8e27d440923e
--- a/metatools/sysdeftools/rootsysdef.pl	Tue Oct 26 11:12:31 2010 +0800
+++ b/metatools/sysdeftools/rootsysdef.pl	Wed Oct 27 19:35:19 2010 +0800
@@ -252,6 +252,10 @@
 	my  ($name,$path) = fileparse($_[0]);
 	if($path eq '' && $name eq '') {return};
 	$path=~tr,\\,/,;
+	if ($path eq './')
+		{
+		return abs_path('.').$name;
+		}
 	if( -e $path)
 		{
 		return abs_path($path)."/$name";