From b4a78e144c3c90307a79acb13819f60d094db327 Mon Sep 17 00:00:00 2001 From: Bryson Steck Date: Sun, 5 Jun 2022 02:15:54 -0600 Subject: forgot to add check if wit is installed --- patch_iso.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/patch_iso.sh b/patch_iso.sh index 0b5d82c..fbfd9fd 100755 --- a/patch_iso.sh +++ b/patch_iso.sh @@ -117,6 +117,12 @@ if [[ ERROR -ne 0 ]]; then fi fi +# check for cygwin -------------------------------------------------------------- + +if [[ "$OSTYPE" == "cygwin" ]]; then + export CYGWIN='yes' +fi + # check for image --------------------------------------------------------------- if [[ ! $1 ]]; then -- cgit v1.2.3