mirror of
				https://git.proxmox.com/git/mirror_edk2
				synced 2025-11-04 03:57:26 +00:00 
			
		
		
		
	Use the new edk2-basetools pip module. Includes a helpful message in setup to let users know which has been selected. Cc: Bob Feng <bob.c.feng@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Yuwei Chen <yuwei.chen@intel.com> Reviewed-by: Bob Feng <bob.c.feng@intel.com> Reviewed-by: Yuwei <Chen<yuwei.chen@intel.com> Signed-off-by: Matthew Carlson <matthewfcarlson@gmail.com>
		
			
				
	
	
		
			13 lines
		
	
	
		
			460 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			460 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/usr/bin/env bash
 | 
						|
#python `dirname $0`/RunToolFromSource.py `basename $0` $*
 | 
						|
 | 
						|
# If a ${PYTHON_COMMAND} command is available, use it in preference to python
 | 
						|
if command -v ${PYTHON_COMMAND} >/dev/null 2>&1; then
 | 
						|
    python_exe=${PYTHON_COMMAND}
 | 
						|
fi
 | 
						|
 | 
						|
full_cmd=${BASH_SOURCE:-$0} # see http://mywiki.wooledge.org/BashFAQ/028 for a discussion of why $0 is not a good choice here
 | 
						|
cmd=${full_cmd##*/}
 | 
						|
 | 
						|
exec "${python_exe:-python}" -m edk2basetools.$cmd.EccMain "$@"
 |