Cygwin Recipes

From NovaOrdis Knowledge Base
Revision as of 01:02, 13 January 2016 by Ovidiu (talk | contribs)
Jump to navigation Jump to search

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