Show
Ignore:
Timestamp:
05/19/08 18:20:18 (18 months ago)
Author:
dr2chase
Message:

This time for sure, fixed the space-in-path tolerance

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/ProjectFortress/ant

    r1674 r1675  
    3333  if [ "x$ANT_HOME" != "x" ]; then 
    3434    if [ -x "$ANT_HOME/bin/ant" ]; then 
    35       echo $ANT_HOME/bin/ant 
     35      echo "$ANT_HOME/bin/ant" 
    3636      return 
    3737    else 
     
    4343 
    4444  # Otherwise use whatever is in $PATH 
    45   result=`which ant 2>/dev/null` 
     45  result="`which ant 2>/dev/null`" 
    4646  if [ -z "$result" ]; then 
    4747    echo "Could not find ant. You need to install it. See http://ant.apache.org/ for details." >&2 
     
    5252} 
    5353 
    54 ant_exec=`find_ant` 
     54ant_exec="`find_ant`" 
    5555n=$? 
    5656if [ $n -ne 0 ]; then 
    5757        exit $n 
    5858fi 
    59 $ant_exec -noclasspath -lib third_party/junit "$@" 
     59"$ant_exec" -noclasspath -lib third_party/junit "$@"