X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=Tools%2FSource%2FGenBuild%2Forg%2Ftianocore%2Fbuild%2Fid%2FPlatformIdentification.java;h=39a13d92d60c7c5ba388fa7b5185319fb365e732;hp=530ecedc86aefde61b6824a9ce68b588618825a7;hb=9cf435c223091dc504a21559b791fafbfaf83135;hpb=7ab6baa9de2937578a96719eeaba0b4706bd8579 diff --git a/Tools/Source/GenBuild/org/tianocore/build/id/PlatformIdentification.java b/Tools/Source/GenBuild/org/tianocore/build/id/PlatformIdentification.java index 530ecedc86..39a13d92d6 100644 --- a/Tools/Source/GenBuild/org/tianocore/build/id/PlatformIdentification.java +++ b/Tools/Source/GenBuild/org/tianocore/build/id/PlatformIdentification.java @@ -51,10 +51,10 @@ public class PlatformIdentification extends Identification{ } public String getRelativeFpdFile (){ - return fpdFile.getPath().substring(GlobalData.getWorkspacePath().length()); + return fpdFile.getPath().substring(GlobalData.getWorkspacePath().length() + 1); } public String getPlatformRelativeDir(){ - return fpdFile.getParent().substring(GlobalData.getWorkspacePath().length()); + return fpdFile.getParent().substring(GlobalData.getWorkspacePath().length() + 1); } } \ No newline at end of file