mirror of
https://github.com/acidanthera/audk.git
synced 2025-05-03 22:20:12 +02:00
In Shell spec 2.1 the return name of EFI_SHELL_PROTOCOL.GetCurDir() is defined as 'fs0:\current-dir' while in current implementation it's 'fs0:\current-dir\'. To follow spec the patch removed the redundant '\' char. Since it has been broken for a long time, some codes may depend on the broken behavior. After this change 'EFI_SHELL_PROTOCOL.GetCurDir()' and 'UefiShellLib.ShellGetCurrentDir()' will return a current directory string without tailing '\' (fs0:\current-dir), the value of Shell environment variable 'cwd' will become 'fs0:\current-dir' as well. This patch has updated all the code in EDKII to make them depend on the new behavior. Developers should check whether 'GetCurDir()' and 'ShellGetCurrentDir' are used in their source code. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Qiu Shumin <shumin.qiu@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18653 6f19259b-4bc3-4df7-8a09-765794883524
55 lines
4.7 KiB
Plaintext
55 lines
4.7 KiB
Plaintext
// *++
|
|
//
|
|
// (C) Copyright 2013-2015 Hewlett-Packard Development Company, L.P.<BR>
|
|
// Copyright (c) 2009 - 2015, Intel Corporation. All rights reserved. <BR>
|
|
// This program and the accompanying materials
|
|
// 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
|
|
// http://opensource.org/licenses/bsd-license.php
|
|
//
|
|
// THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
//
|
|
// Module Name:
|
|
//
|
|
// ShellStrings.uni
|
|
//
|
|
// Abstract:
|
|
//
|
|
// String definitions for the main UEFI Shell 2.0 application
|
|
//
|
|
// Revision History:
|
|
//
|
|
// --*/
|
|
|
|
/=#
|
|
|
|
#langdef en-US "English"
|
|
|
|
#string STR_SHELL_CURDIR #language en-US "%E%s\> %N"
|
|
#string STR_GEN_PROBLEM #language en-US "The argument '%B%s%N' is incorrect.\r\n"
|
|
#string STR_SHELL_SHELL #language en-US "%EShell> %N"
|
|
|
|
#string STR_SHELL_STARTUP_QUESTION #language en-US "%NPress %HESC%N in %d seconds to skip %Estartup.nsh%N or any other key to continue."
|
|
|
|
#string STR_SHELL_ENTER_TO_CONT #language en-US "%NPress ENTER to continue:%E"
|
|
#string STR_SHELL_QUIT_CONT #language en-US "%NPress ENTER to continue or 'Q' break:%E"
|
|
|
|
#string STR_SHELL_NOT_FOUND #language en-US "%N'%E%s%N' is not recognized as an internal or external command, operable program, or script file.\r\n"
|
|
|
|
#string STR_SHELL_CRLF #language en-US "\r\n"
|
|
|
|
#string STR_SHELL_ERROR #language en-US "%NCommand Error Status: %r\r\n"
|
|
|
|
#string STR_SHELL_INVALID_MAPPING #language en-US "%N'%B%s%N' is not a valid mapping.\r\n"
|
|
#string STR_SHELL_INVALID_SPLIT #language en-US "Invalid use of pipe (%B|%N).\r\n"
|
|
|
|
#string STR_SHELL_INVALID_REDIR #language en-US "Unable to redirect file.\r\n"
|
|
#string STR_SHELL_REDUNDA_REDIR #language en-US "Redundant redirection specified.\r\n"
|
|
|
|
#string STR_VER_OUTPUT_MAIN_SHELL #language en-US "UEFI %s Shell v%d.%d\r\n"
|
|
#string STR_VER_OUTPUT_MAIN_SUPPLIER #language en-US "%s\r\n"
|
|
#string STR_VER_OUTPUT_MAIN_UEFI #language en-US "UEFI v%d.%02d (%s, 0x%08x)\r\n"
|
|
|
|
#string STR_SHELL_NO_IN_EX #language en-US "No SimpleTextInputEx was found. CTRL-based features are not usable.\r\n"
|