return (SHELL_OUT_OF_RESOURCES);\r
}\r
StrCpy(DestPath, Cwd);\r
- while (ChopLastSlash(DestPath)) ;\r
+ while (PathRemoveLastItem(DestPath)) ;\r
*DestPathPointer = DestPath;\r
return (SHELL_SUCCESS);\r
}\r
if (ShellStatus != SHELL_SUCCESS) {\r
return (ShellStatus);\r
}\r
- DestPath = CleanPath(DestPath);\r
+ DestPath = PathCleanUpDirectories(DestPath);\r
\r
HiiOutput = HiiGetString (gShellLevel2HiiHandle, STRING_TOKEN (STR_MV_OUTPUT), NULL);\r
HiiResultOk = HiiGetString (gShellLevel2HiiHandle, STRING_TOKEN (STR_GEN_RES_OK), NULL);\r