Browse Source

switch checks

pull/26/head
6543 4 years ago
parent
commit
7d4c1015d5
  1. 11
      src/func/iso_extract

11
src/func/iso_extract

@ -15,17 +15,18 @@ function iso_extract() {
return 10
}

iso_extr_dir="$2"
[ -d "$iso_extr_dir" ] || {
echo "### ERROR ### iso_extract: aim directory not exist!"
return 12
}

iso_source="$1"
[ -f "$iso_source" ] || {
echo "### ERROR ### iso_extract: ISO \"$iso_source\" not exist!"
return 11
}

iso_extr_dir="$2"
[ -d "$iso_extr_dir" ] || {
echo "### ERROR ### iso_extract: aim directory not exist!"
return 12
}

#mace tmp mountpoint
tmpdir="`mktemp -d`"

Loading…
Cancel
Save