]> git.proxmox.com Git - mirror_edk2.git/commit
ShellPkg-ShellApp: Provide fully-qualified path to shell scripts
authorJim.Dailey@dell.com <Jim.Dailey@dell.com>
Mon, 29 Oct 2018 21:14:51 +0000 (05:14 +0800)
committerRuiyu Ni <ruiyu.ni@intel.com>
Mon, 5 Nov 2018 02:52:51 +0000 (10:52 +0800)
commit764c21f4aa2dbcdf953b0a4e17b15c220ec01241
tree771893dbd824179f0fa44cea7d8a4ffa3064920b
parent9ba404d6644c61b3b4f792982517d981d882dc71
ShellPkg-ShellApp: Provide fully-qualified path to shell scripts

Provide fully-qualified path to shell scripts

Section 3.6.2 of version 2.2 of the shell specification requires that
the first positional argument (i.e. arg 0) of a shell script resolves
to "the full path name of the script itself."

Ensure that the startup script and any scripts launched by the shell
meet this requirement.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jim Dailey <jim_dailey@dell.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
ShellPkg/Application/Shell/Shell.c