Skip to content

Commit

Permalink
no ini image on Cygwin or Mingw
Browse files Browse the repository at this point in the history
  • Loading branch information
rusefillc committed Nov 4, 2023
1 parent 9474781 commit 79821e8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions firmware/hw_layer/mass_storage/create_ini_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions firmware/hw_layer/mass_storage/create_ini_image_compressed.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 79821e8

Please sign in to comment.