Changeset 1698 for trunk/ProjectFortress/ant
- Timestamp:
- 05/21/08 14:14:00 (18 months ago)
- Files:
-
- 1 modified
-
trunk/ProjectFortress/ant (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ProjectFortress/ant
r1675 r1698 42 42 fi 43 43 44 # Otherwise use whatever is in $PATH 45 result="`which ant 2>/dev/null`" 44 # Otherwise use whatever is in $PATH, minus any dots 45 export NODOTPATH="`echo "$PATH" | sed -e '1,$s/^[.]://g'`" 46 NODOTPATH="`echo "$NODOTPATH" | sed -e '1,$s/:[.]:/:/g'`" 47 NODOTPATH="`echo "$NODOTPATH" | sed -e '1,$s/:[.]$//g'`" 48 result="`(PATH="$NODOTPATH" which ant 2>/dev/null)`" 46 49 if [ -z "$result" ]; then 47 50 echo "Could not find ant. You need to install it. See http://ant.apache.org/ for details." >&2

