summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/vendor.sh10
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