Browse Source

Remove incorrect --path arguments to cygpath

PR:     17212
Submitted by:   Shankar Unni


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274164 13f79535-47bb-0310-9956-ffa450edef68
master
Conor MacNeill 22 years ago
parent
commit
db007c442e
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      src/script/ant

+ 3
- 3
src/script/ant View File

@@ -167,11 +167,11 @@ fi

# For Cygwin, switch paths to Windows format before running java
if $cygwin; then
ANT_HOME=`cygpath --path --windows "$ANT_HOME"`
JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"`
ANT_HOME=`cygpath --windows "$ANT_HOME"`
JAVA_HOME=`cygpath --windows "$JAVA_HOME"`
CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
LOCALCLASSPATH=`cygpath --path --windows "$LOCALCLASSPATH"`
CYGHOME=`cygpath --path --windows "$HOME"`
CYGHOME=`cygpath --windows "$HOME"`
fi

if [ -n "$CYGHOME" ]; then


Loading…
Cancel
Save