]> git.proxmox.com Git - mirror_edk2.git/commit
ShellPkg/cd: Do not print the destination dir when CD exits
authorRuiyu Ni <ruiyu.ni@intel.com>
Thu, 26 Jan 2017 04:32:33 +0000 (12:32 +0800)
committerRuiyu Ni <ruiyu.ni@intel.com>
Fri, 3 Feb 2017 05:23:52 +0000 (13:23 +0800)
commitf1d91f33a19b91a204237d9226cfc3351ec5f591
tree743fac1b2762565e79b52126d7f73e80e998faa3
parent7fcb735412998d536cb348049c4ea60897fa6886
ShellPkg/cd: Do not print the destination dir when CD exits

Before the "cd fs0:dir" fix, CD only prints destination directory
when the destination contains ":".
However, the "cd fs0:dir" fix changed CD to always print destination
directory.

This patch changes CD to never print destination directory.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
Cc: Chris J Phillips <chrisp@hpe.com>
Reviewed-by: Tapan Shah <tapandshah@hpe.com>
ShellPkg/Library/UefiShellLevel2CommandsLib/Cd.c