Skip to content

Commit 02ceb53

Browse files
committed
graphhopper.sh: minor fix
1 parent 80d61b6 commit 02ceb53

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

graphhopper.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ fi
9292

9393
# default init, https://stackoverflow.com/a/28085062/194609
9494
: "${CONFIG:=config.yml}"
95-
if [ -f $CONFIG ]; then
95+
if [[ -f $CONFIG && $CONFIG != config.yml ]]; then
9696
echo "copying non-default config file: $CONFIG"
9797
cp $CONFIG config.yml
9898
fi
@@ -146,8 +146,8 @@ function ensureMaven {
146146
if [ ! -f "$MAVEN_HOME/bin/mvn" ]; then
147147
echo "No Maven found in the PATH. Now downloading+installing it to $MAVEN_HOME"
148148
cd "$GH_HOME"
149-
MVN_PACKAGE=apache-maven-3.5.0
150-
wget -O maven.zip http://archive.apache.org/dist/maven/maven-3/3.5.0/binaries/$MVN_PACKAGE-bin.zip
149+
MVN_PACKAGE=apache-maven-3.6.3
150+
wget -O maven.zip http://archive.apache.org/dist/maven/maven-3/3.6.3/binaries/$MVN_PACKAGE-bin.zip
151151
unzip maven.zip
152152
mv $MVN_PACKAGE maven
153153
rm maven.zip

0 commit comments

Comments
 (0)