]> git.proxmox.com Git - mirror_edk2.git/commit - ShellPkg/Application/Shell/ShellProtocol.c
ShellPkg/ShellProtocol.c: Fix case sensitivity in GetAlias and SetAlias
authorBrendan Jackman <Brendan.Jackman@arm.com>
Wed, 26 Feb 2014 09:46:40 +0000 (09:46 +0000)
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 26 Feb 2014 09:46:40 +0000 (09:46 +0000)
commitb9b77ab1ba0e5138307150a1a3caa4342d464f16
tree766ef06cea852c45e3a98938fdb41d6b550bbee4
parentb572d3f0db2e1b837885907dbeff2cce7e733e04
ShellPkg/ShellProtocol.c: Fix case sensitivity in GetAlias and SetAlias

ShellCommandIsOnAliasList is case insensitive, but GetAlias and SetAlias use the
UEFI variable services, which are case sensitive.

Force alias names to lowercase to get around this.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Brendan Jackman <Brendan.Jackman@arm.com>
Reviewed-By: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Jaben Carsey <Jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15270 6f19259b-4bc3-4df7-8a09-765794883524
ShellPkg/Application/Shell/ShellProtocol.c