bugfix: WIT got the image name wrong if the image was detected

using check_input_image_special
This commit is contained in:
Christopher Roy Bratusek 2013-08-06 09:04:41 +02:00
parent 728a7390e7
commit a91245c1bd
9 changed files with 18 additions and 18 deletions

View File

@ -34,9 +34,9 @@ check_input_image_special () {
if [[ ! ${IMAGE} ]]; then
if test -f SMN?01.wbfs; then
IMAGE=SMN?01.wbfs
IMAGE=$(eval echo SMN?01.wbfs)
elif test -f SMN?01.iso; then
IMAGE=SMN?01.iso
IMAGE=$(eval echo SMN?01.iso)
else
echo -e "please specify image to use with --iso=<path>"
exit 1

View File

@ -33,9 +33,9 @@ check_input_image_special () {
if [[ ! ${IMAGE} ]]; then
if test -f SMN?01.wbfs; then
IMAGE=SMN?01.wbfs
IMAGE=$(eval echo SMN?01.wbfs)
elif test -f SMN?01.iso; then
IMAGE=SMN?01.iso
IMAGE=$(eval echo SMN?01.iso)
else
echo -e "please specify image to use with --iso=<path>"
exit 1

View File

@ -30,9 +30,9 @@ check_input_image_special () {
if [[ ! ${IMAGE} ]]; then
if test -f SMN?01.wbfs; then
IMAGE=SMN?01.wbfs
IMAGE=$(eval echo SMN?01.wbfs)
elif test -f SMN?01.iso; then
IMAGE=SMN?01.iso
IMAGE=$(eval echo SMN?01.iso)
else
echo -e "please specify image to use with --iso=<path>"
exit 1

View File

@ -38,9 +38,9 @@ check_input_image_special () {
if [[ ! ${IMAGE} ]]; then
if test -f SMN?01.wbfs; then
IMAGE=SMN?01.wbfs
IMAGE=$(eval echo SMN?01.wbfs)
elif test -f SMN?01.iso; then
IMAGE=SMN?01.iso
IMAGE=$(eval echo SMN?01.iso)
else
echo -e "please specify image to use with --iso=<path>"
exit 1

View File

@ -34,9 +34,9 @@ check_input_image_special () {
if [[ ! ${IMAGE} ]]; then
if test -f SMN?01.wbfs; then
IMAGE=SMN?01.wbfs
IMAGE=$(eval echo SMN?01.wbfs)
elif test -f SMN?01.iso; then
IMAGE=SMN?01.iso
IMAGE=$(eval echo SMN?01.iso)
else
echo -e "please specify image to use with --iso=<path>"
exit 1

View File

@ -34,9 +34,9 @@ check_input_image_special () {
if [[ ! ${IMAGE} ]]; then
if test -f SMN?01.wbfs; then
IMAGE=SMN?01.wbfs
IMAGE=$(eval echo SMN?01.wbfs)
elif test -f SMN?01.iso; then
IMAGE=SMN?01.iso
IMAGE=$(eval echo SMN?01.iso)
else
echo -e "please specify image to use with --iso=<path>"
exit 1

View File

@ -33,9 +33,9 @@ check_input_image_special () {
if [[ ! ${IMAGE} ]]; then
if test -f SMN?01.wbfs; then
IMAGE=SMN?01.wbfs
IMAGE=$(eval echo SMN?01.wbfs)
elif test -f SMN?01.iso; then
IMAGE=SMN?01.iso
IMAGE=$(eval echo SMN?01.iso)
else
echo -e "please specify image to use with --iso=<path>"
exit 1

View File

@ -29,9 +29,9 @@ check_input_image_special () {
if [[ ! ${IMAGE} ]]; then
if test -f SMN?01.wbfs; then
IMAGE=SMN?01.wbfs
IMAGE=$(eval echo SMN?01.wbfs)
elif test -f SMN?01.iso; then
IMAGE=SMN?01.iso
IMAGE=$(eval echo SMN?01.iso)
else
echo -e "please specify image to use with --iso=<path>"
exit 1

View File

@ -31,9 +31,9 @@ check_input_image_special () {
if [[ ! ${IMAGE} ]]; then
if test -f SMN?01.wbfs; then
IMAGE=SMN?01.wbfs
IMAGE=$(eval echo SMN?01.wbfs)
elif test -f SMN?01.iso; then
IMAGE=SMN?01.iso
IMAGE=$(eval echo SMN?01.iso)
else
echo -e "please specify image to use with --iso=<path>"
exit 1