usbinstall.sh: resolve ISO if symlink for df and progress bar to work

This commit is contained in:
Silvan Calarco 2013-03-04 18:17:43 +01:00
parent 119ebc9b7c
commit cd28f52cea

View File

@ -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