From 4e50a92041c9f30deef1a32c995b9d5634cbed22 Mon Sep 17 00:00:00 2001 From: Andrew Robbins Date: Fri, 23 Jun 2017 13:55:22 -0400 Subject: Remove unnecessary 'env' invocation from printf. This reverts part of pull request #217 which called the 'env' binary for each printf invocation. --- tools/boot-keys/boot-keys-helper | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/boot-keys/boot-keys-helper') diff --git a/tools/boot-keys/boot-keys-helper b/tools/boot-keys/boot-keys-helper index 05739bbe..d386c8ba 100755 --- a/tools/boot-keys/boot-keys-helper +++ b/tools/boot-keys/boot-keys-helper @@ -15,7 +15,7 @@ boot_keys_cros() { if ! [ -x "$cros_script_path" ] then - env printf '%s' "$cros_script script missing from cros-scripts install" >&2 + printf '%s' "$cros_script script missing from cros-scripts install" >&2 return 1 fi @@ -45,7 +45,7 @@ boot_keys_files_install_path() { ifs_save=$IFS IFS=$'\n' - for argument in $( env printf '%s\n' "$helper_arguments" ) + for argument in $( printf '%s\n' "$helper_arguments" ) do ( IFS=$ifs_save -- cgit v1.2.3-70-g09d2