mirror of
https://gitlab.com/Nanolx/patchimage.git
synced 2024-11-28 03:54:22 +01:00
bugfix: WIT got the image name wrong if the image was detected
using check_input_image_special
This commit is contained in:
parent
728a7390e7
commit
a91245c1bd
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user