File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ DOWNLOAD_DIR="$TMPDIR/codenameone-tools"
1919mkdir -p " $DOWNLOAD_DIR "
2020ENV_DIR=" $DOWNLOAD_DIR /tools"
2121mkdir -p " $ENV_DIR "
22- CN1_BINARIES=" ../cn1-binaries"
2322
2423# Reuse previously saved environment if present (so we can skip downloads)
2524if [ -f " $ENV_DIR /env.sh" ]; then
@@ -151,9 +150,8 @@ log "Maven version:"; "$MAVEN_HOME/bin/mvn" -version
151150
152151PATH=" $JAVA_HOME /bin:$MAVEN_HOME /bin:$PATH "
153152
154- log " Cloning cn1-binaries"
155- rm -Rf " $CN1_BINARIES "
156- git clone https://github.com/codenameone/cn1-binaries " $CN1_BINARIES "
153+ log " Downloading cn1-binaries"
154+ " $MAVEN_HOME /bin/mvn" -f maven/pom.xml -DskipTests -Djava.awt.headless=true download-cn1-binaries
157155
158156log " Building Codename One core modules"
159157" $MAVEN_HOME /bin/mvn" -f maven/pom.xml -DskipTests -Djava.awt.headless=true install " $@ "
You can’t perform that action at this time.
0 commit comments