Browse Source

Shell portability fixes

Submitted by: Andrew Sudell <asudell@Op.Net>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267594 13f79535-47bb-0310-9956-ffa450edef68
master
Sam Ruby 25 years ago
parent
commit
2b24bb0d55
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      bootstrap.sh
  2. +1
    -1
      src/bin/antRun

+ 1
- 1
bootstrap.sh View File

@@ -21,7 +21,7 @@ cp src/main/org/apache/tools/ant/parser.properties ${CLASSDIR}/org/apache/tools/
java org.apache.tools.ant.Main main
java org.apache.tools.ant.Main clean

if ! test -e bin; then mkdir bin; fi
if test ! -d bin; then mkdir bin; fi
cp src/bin/antRun bin
chmod +x bin/antRun



+ 1
- 1
src/bin/antRun View File

@@ -6,7 +6,7 @@ CMD=$2
shift
shift

if test -e $CMD.sh; then
if test -f $CMD.sh; then
CMD="sh $CMD.sh"
fi



Loading…
Cancel
Save