]> git.proxmox.com Git - mirror_edk2.git/commit
ShellPkg/cd: Fix "cd" to support "fs0:dir" (no slash after ':')
authorRuiyu Ni <ruiyu.ni@intel.com>
Wed, 21 Dec 2016 08:04:19 +0000 (16:04 +0800)
committerRuiyu Ni <ruiyu.ni@intel.com>
Thu, 29 Dec 2016 01:35:14 +0000 (09:35 +0800)
commitd9bb3ca3c2a1bd3f7b78adf27e82e5605f665e16
tree54e7bd39ce8c610386cec76e9f0ae87445dba20e
parentbb99e3282c9e69fbd6365d117c58d15589e34c5d
ShellPkg/cd: Fix "cd" to support "fs0:dir" (no slash after ':')

When "fs0:dir"(drive letter without slash) is used as destination
of "cd", "cd" tries to change to "dir" in root directory of "fs0:".
It's incorrect. The correct behavior is to change to "dir" in
current directory of "fs0:"

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Signed-off-by: Chen A Chen <chen.a.chen@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
ShellPkg/Library/UefiShellLevel2CommandsLib/Cd.c