Skip to content

Commit

Permalink
[AS7-4342] Use the location of build.sh instead of pwd to find Maven
Browse files Browse the repository at this point in the history
  • Loading branch information
pgier authored and bstansberry committed Apr 3, 2012
1 parent 2e098d5 commit 936c605
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ source_if_exists() {
find_maven() {
search="$*"
for d in $search; do
MAVEN_HOME="`pwd`/$d"
MAVEN_HOME="${DIRNAME}/$d"
MVN="$MAVEN_HOME/bin/mvn"
if [ -x "$MVN" ]; then
# Found.
Expand Down

0 comments on commit 936c605

Please sign in to comment.