ShellPkg: Fix file system change issue that results in ASSERT

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chris Phillips <chrisp@hp.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>


git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15406 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Chris Phillips 2014-03-27 18:21:43 +00:00 committed by jcarsey
parent 2bc363714e
commit d6e88a6c60
1 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
This is THE shell (application) This is THE shell (application)
Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR> Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2013, Hewlett-Packard Development Company, L.P. (C) Copyright 2013-2014, Hewlett-Packard Development Company, L.P.
This program and the accompanying materials This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at which accompanies this distribution. The full text of the license may be found at
@ -2481,7 +2481,7 @@ RunCommand(
// //
switch (Type = GetOperationType(FirstParameter)) { switch (Type = GetOperationType(FirstParameter)) {
case File_Sys_Change: case File_Sys_Change:
Status = ChangeMappedDrive(CleanOriginal); Status = ChangeMappedDrive (FirstParameter);
break; break;
case Internal_Command: case Internal_Command:
case Script_File_Name: case Script_File_Name: