From b9edc357f3d80fd5e0cfe87b7a1f4d9319dea197 Mon Sep 17 00:00:00 2001 From: Francisco Ryan Tolmasky I Date: Mon, 22 Feb 2010 14:50:25 -0800 Subject: [PATCH] Fix for absolute paths working with <> includes. Reviewed by me. --- Objective-J/FileExecutableSearch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objective-J/FileExecutableSearch.js b/Objective-J/FileExecutableSearch.js index fb9621da1..395e2f6c7 100644 --- a/Objective-J/FileExecutableSearch.js +++ b/Objective-J/FileExecutableSearch.js @@ -58,7 +58,7 @@ function FileExecutableSearch(/*String*/ aPath, /*BOOL*/ isLocal) }); } - if (isLocal) + if (isLocal || FILE.isAbsolute(aPath)) rootResource.resolveSubPath(aPath, NO, completed); else StaticResource.resolveStandardNodeAtPath(aPath, completed);