no ini image on Cygwin or Mingw (#297)

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
This commit is contained in:
rusefillc 2023-11-09 09:32:58 -05:00 committed by GitHub
parent d01bb4c442
commit d6b5718ed1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 0 deletions

View File

@ -6,6 +6,11 @@
# fail on error
set -e
if [ "$(expr substr $(uname -s) 1 6)" == "CYGWIN" ] || [ "$(expr substr $(uname -s) 1 5)" == "MINGW" ]; then
echo No image on $(uname -s)
exit 0
fi
FULL_INI=$1
H_OUTPUT=$2
FS_SIZE=$3

View File

@ -6,6 +6,11 @@
# fail on error
set -e
if [ "$(expr substr $(uname -s) 1 6)" == "CYGWIN" ] || [ "$(expr substr $(uname -s) 1 5)" == "MINGW" ]; then
echo No image on $(uname -s)
exit 0
fi
FULL_INI=$1
H_OUTPUT=$2
FS_SIZE=$3