From 4e2b59ed3ff5a64d958ee5425f3532d6c6acf324 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Thu, 17 Apr 2025 18:20:14 +0100 Subject: vendor.sh: minor cleanup Signed-off-by: Leah Rowe --- include/vendor.sh | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'include') 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 -- cgit v1.2.1