File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ while IFS= read -r line; do
129129 exit 1
130130 fi
131131
132- if [[ $JAR_FILE != * -javadoc.jar ]]; then
132+ if [[ $ARTIFACT_ID != grails-cli && $ARTIFACT_ID != grails-forge-cli && $ JAR_FILE != * -javadoc.jar ]]; then
133133 echo " ... Verifying required files exist in non-javadoc jar..."
134134 required_jar_contents=(META-INF/LICENSE META-INF/DISCLAIMER META-INF/NOTICE)
135135 missing_jar_contents=()
Original file line number Diff line number Diff line change @@ -61,11 +61,11 @@ SRC_DIR="grails"
6161if [ -d " ${SRC_DIR} " ]; then
6262 echo " Previous grails directory found, purging"
6363 cd grails
64- find . -mindepth 1 -path ./etc -prune -o -exec rm -rf {} +
64+ find . -mindepth 1 -path ./etc -prune -o -exec rm -rf {} + || true
6565 cd etc
66- find . -mindepth 1 -path ./bin -prune -o -exec rm -rf {} +
66+ find . -mindepth 1 -path ./bin -prune -o -exec rm -rf {} + || true
6767 cd bin
68- find . -mindepth 1 -path ./results -prune -o -exec rm -rf {} +
68+ find . -mindepth 1 -path ./results -prune -o -exec rm -rf {} +|| true
6969 cd " ${DOWNLOAD_LOCATION} "
7070fi
7171echo " Extracting zip file..."
You can’t perform that action at this time.
0 commit comments