Skip to content

Commit d092ead

Browse files
authored
Merge pull request #1883 from nexB/1875-use-configure-bar-on-windows
configure: Exit when running on Windows
2 parents af53895 + 4b8d4b1 commit d092ead

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

configure

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@
55

66
set -e
77

8+
if [[ "$OS" == "Windows_NT" ]]; then
9+
echo "You seem to be running on Windows under Cygwin / MSYS(2), like e.g. Git for Windows Bash. This script does"
10+
echo "not properly work in this scenario. As a Windows user, please run 'configure.bat' from a regular command"
11+
echo "prompt instead."
12+
exit 1
13+
fi
14+
815
################################
916
# change these variables to customize this script locally
1017
################################

0 commit comments

Comments
 (0)