]> git.proxmox.com Git - mirror_edk2.git/commit
ShellPkg: Fix the last command doesn't work in a script.
authorQiu Shumin <shumin.qiu@intel.com>
Thu, 18 Feb 2016 05:12:58 +0000 (13:12 +0800)
committerQiu Shumin <shumin.qiu@intel.com>
Fri, 19 Feb 2016 07:00:57 +0000 (15:00 +0800)
commitf79d7b62ba11db018db7bd489dd44051bfc067ae
treeb87c570d2edda30b13b51b4fcbe3fadd2b59121b
parente665a69d9d222cceb925f6e2423e75ed7adabd42
ShellPkg: Fix the last command doesn't work in a script.

When the last line in a script file is not an empty line the Shell
will not execute the command in the last line. The patch refine the
logic in function 'ShellFileHandleReturnLine' and fix the issue.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jaben Carsey <jaben.carsey@intel.com>
Reviewed-by: Qiu Shumin <shumin.qiu@intel.com>
ShellPkg/Library/UefiShellLib/UefiShellLib.c