Specify extenal tool with path default tip
authorlorewang
Wed, 01 Dec 2010 16:05:36 +0800
changeset 715 e0739b8406dd
parent 714 e5a58c351011
Specify extenal tool with path
imgtools/buildrom/tools/externaltools.pm
--- a/imgtools/buildrom/tools/externaltools.pm	Tue Nov 30 17:14:57 2010 +0800
+++ b/imgtools/buildrom/tools/externaltools.pm	Wed Dec 01 16:05:36 2010 +0800
@@ -48,7 +48,7 @@
 				my $epocroot = $ENV{EPOCROOT};
 				$epocroot =~ s-\\-\/-g;
 				$epocroot .= "\/" unless ($epocroot =~ /\/$/);
-				$path =~ s-^EPOCROOT[\/\\]?-$epocroot-;
+				$path =~ s-^EPOCROOT(##)?[\/\\]?-$epocroot-;
 			}
 			push (@INC, $path);
 		}