diff options
| author | Leah Rowe <leah@libreboot.org> | 2025-04-17 18:20:14 +0100 | 
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2025-04-17 18:20:14 +0100 | 
| commit | 4e2b59ed3ff5a64d958ee5425f3532d6c6acf324 (patch) | |
| tree | 776e63c26df0b76a200f467369d97a92b960daa1 | |
| parent | a3acf4c3f95a77bc61d903db25a9434a7b611866 (diff) | |
vendor.sh: minor cleanup
Signed-off-by: Leah Rowe <leah@libreboot.org>
| -rw-r--r-- | include/vendor.sh | 10 | 
1 files changed, 3 insertions, 7 deletions
| diff --git a/include/vendor.sh b/include/vendor.sh index 2e71a76a..8f4a37cc 100644 --- a/include/vendor.sh +++ b/include/vendor.sh @@ -551,12 +551,10 @@ patch_rom()  	rom="$1"  	if [ "$has_hashes" != "y" ] && [ "$nukemode" != "nuke" ]; then -		printf "inject: '%s' has no hash file. Skipping.\n" \ -		    "$archive" 1>&2 +		printf "'%s' has no hash file. Skipping.\n" "$archive" 1>&2  		return 1  	elif [ "$has_hashes" = "y" ] && [ "$nukemode" = "nuke" ]; then -		printf "inject nuke: '%s' has a hash file. Skipping nuke.\n" \ -		    "$archive" 1>&2 +		printf "'%s' has a hash file. Skipping nuke.\n" "$archive" 1>&2  		return 1  	fi @@ -629,9 +627,7 @@ modify_mac_addresses()  {  	[ -n "$CONFIG_GBE_BIN_PATH" ] || return 1 -	x_ mkdir -p tmp -	e tmp/gbe && x_ e tmp/gbe f -	x_ cp "${CONFIG_GBE_BIN_PATH##*../}" tmp/gbe +	x_ mkdir -p tmp && x_ cp "${CONFIG_GBE_BIN_PATH##*../}" tmp/gbe  	if [ "$new_mac" != "restore" ]; then  		x_ make -C util/nvmutil | 
