mirror of https://github.com/acidanthera/audk.git
ShellPkg/ls: Display the correct directory path
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> Reviewed-by: Tapan Shah <tapandshah@hpe.com>
This commit is contained in:
parent
47ec935660
commit
5aeafb3a25
ShellPkg/Library/UefiShellLevel2CommandsLib
|
@ -442,6 +442,7 @@ PrintLsOutput(
|
|||
}
|
||||
|
||||
if (!Sfo && !HeaderPrinted) {
|
||||
PathRemoveLastItem (CorrectedPath);
|
||||
PrintNonSfoHeader(CorrectedPath);
|
||||
}
|
||||
PrintFileInformation(Sfo, Node, &FileCount, &FileSize, &DirCount);
|
||||
|
|
Loading…
Reference in New Issue