Cygwin Recipes: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=Internal= * Cygwin =Detecting Cygwin from a Script= <pre> if [ "$OSTYPE" = "cygwin" ]; then ... fi </pre> =Handling Path with Spaces in Cygwin=...") |
No edit summary |
||
Line 7: | Line 7: | ||
<pre> | <pre> | ||
if [ "$OSTYPE" = "cygwin" ]; then | |||
... | |||
fi | |||
</pre> | </pre> | ||
Line 15: | Line 15: | ||
<pre> | <pre> | ||
f [ "$OSTYPE" = "cygwin" ]; then | |||
java_executable=`cygpath "$java_executable"` | |||
fi | |||
"$java_executable" -version | |||
</pre> | </pre> |
Revision as of 01:02, 13 January 2016
Internal
Detecting Cygwin from a Script
if [ "$OSTYPE" = "cygwin" ]; then ... fi
Handling Path with Spaces in Cygwin
f [ "$OSTYPE" = "cygwin" ]; then java_executable=`cygpath "$java_executable"` fi "$java_executable" -version