]> git.proxmox.com Git - mirror_edk2.git/commit
ShellPkg: Properly set lasterror environment variable
authorChris Phillips <chrisp@hp.com>
Tue, 29 Oct 2013 16:30:25 +0000 (16:30 +0000)
committerjcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 29 Oct 2013 16:30:25 +0000 (16:30 +0000)
commit5b5cd144f3187f4208c6c9430c9752a4c5cdd415
treecba8e115317ebcd0b1d91bdf344be55a5952455d
parent8924aecd470f84968369982a69aa30acc7c387df
ShellPkg: Properly set lasterror environment variable
- Set lasterror value based on platform width
- Use “lasterror” rather than “Lasterror” for variable name to match Shell Specification
- Set lasterror value when a binary or script file is not found

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@14816 6f19259b-4bc3-4df7-8a09-765794883524
ShellPkg/Application/Shell/Shell.c