From 34a2dfb17682d98229b4115e981a05067e6d788b Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Tue, 19 Sep 2017 19:36:52 +0200 Subject: iso2usb.sh - some minor tweaks --- iso2usb.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/iso2usb.sh b/iso2usb.sh index 4a7e4f6..7b386fc 100644 --- a/iso2usb.sh +++ b/iso2usb.sh @@ -23,6 +23,9 @@ # Be careful: set -e +# Limit the search path: +export PATH="/usr/sbin:/sbin:/usr/bin:/bin" + # Set to '1' if you want to ignore all warnings: FORCE=0 @@ -44,9 +47,6 @@ UNATTENDED=0 # By default do not show file operations in detail: VERBOSE=0 -# Limit the search path: -export PATH="/usr/sbin:/sbin:/usr/bin:/bin" - # Variables to store content from an initrd we are going to refresh: OLDPERSISTENCE="" OLDWAIT="" @@ -507,9 +507,11 @@ EOT fi # Continue with the common text message: cat <