usbinstall.sh: resolve ISO if symlink for df and progress bar to work
This commit is contained in:
parent
119ebc9b7c
commit
cd28f52cea
@ -191,7 +191,7 @@ fi
|
|||||||
# Check if Arg 3 is valid
|
# Check if Arg 3 is valid
|
||||||
if [ -f "$3" ]; then # Check if is a file
|
if [ -f "$3" ]; then # Check if is a file
|
||||||
if [ -r "$3" ]; then # Chek is is readable
|
if [ -r "$3" ]; then # Chek is is readable
|
||||||
SELECT_ISO=$3
|
SELECT_ISO=`readlink -f $3`
|
||||||
else
|
else
|
||||||
errorAndExit "Error(Arg 3): \"$3\" is not readable" 1
|
errorAndExit "Error(Arg 3): \"$3\" is not readable" 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user