aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpatch_iso.sh6
1 files changed, 6 insertions, 0 deletions
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