summaryrefslogtreecommitdiff
path: root/functions.sh
diff options
context:
space:
mode:
Diffstat (limited to 'functions.sh')
-rw-r--r--functions.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/functions.sh b/functions.sh
index c83d1d8..aae9089 100644
--- a/functions.sh
+++ b/functions.sh
@@ -110,15 +110,15 @@ download_iso() {
}
mount_iso() {
- LOOPDEV=$(/sbin/losetup -n -O NAME -j "$ISOPATH/$ISOFILE")
+ LOOPDEV=$(/sbin/losetup -n -O NAME -j "${ISO_FILEPATH}")
if [[ -n "$LOOPDEV" ]]
then
ISOMNT="$LOOPDEV"
umount_iso
fi
- udevil mount "$ISOPATH/$ISOFILE"
- LOOPDEV=$(/sbin/losetup -n -O NAME -j "$ISOPATH/$ISOFILE")
+ udevil mount "${ISO_FILEPATH}"
+ LOOPDEV=$(/sbin/losetup -n -O NAME -j "${ISO_FILEPATH}")
if [[ -n "$LOOPDEV" ]]
then
ISOMNT=$(findmnt -n -o TARGET "$LOOPDEV")