From cd28f52cea27fd599b7b2b57209f0ebdcaca8c2a Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Mon, 4 Mar 2013 18:17:43 +0100 Subject: [PATCH] usbinstall.sh: resolve ISO if symlink for df and progress bar to work --- src/usbinstall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/usbinstall.sh b/src/usbinstall.sh index f76e4a0..f2c7284 100755 --- a/src/usbinstall.sh +++ b/src/usbinstall.sh @@ -191,7 +191,7 @@ fi # Check if Arg 3 is valid if [ -f "$3" ]; then # Check if is a file if [ -r "$3" ]; then # Chek is is readable - SELECT_ISO=$3 + SELECT_ISO=`readlink -f $3` else errorAndExit "Error(Arg 3): \"$3\" is not readable" 1 fi