Skip to content
Permalink
Browse files
BATCHEE-106 fixing batchee script for cygwin
  • Loading branch information
rmannibucau committed Aug 3, 2016
1 parent 340ebc2 commit db7931db74e6bbf3ed56b70175f2ab1c302d179c
Showing 1 changed file with 6 additions and 1 deletion.
@@ -45,6 +45,11 @@ if [ -z "$_RUNJAVA" ]; then
_RUNJAVA="$JAVA_HOME"/bin/java
fi

if $cygwin; then
_RUNJAVA=`cygpath --absolute --unix "$_RUNJAVA"`
echo $_RUNJAVA
fi

if [ -z "$BATCHEE_HOME" -o ! -d "$BATCHEE_HOME" ] ; then
# find batchee
if [ -d /opt/batchee ] ; then
@@ -102,4 +107,4 @@ if [ -f "$logging" ] ; then
BATCHEE_OPTS="$BATCHEE_OPTS -Djava.util.logging.config.file=$logging"
fi

$_RUNJAVA $BATCHEE_OPTS -cp "$bin" org.apache.batchee.cli.bootstrap.Bootstrap $@
"$_RUNJAVA" $BATCHEE_OPTS -cp "$bin" org.apache.batchee.cli.bootstrap.Bootstrap $@

0 comments on commit db7931d

Please sign in to comment.