File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -22,17 +22,21 @@ download_rat_jar () {
2222 JAR=" $rat_jar "
2323
2424 # Download rat launch jar
25- echo " Attempting to fetch rat\n "
25+ echo " Attempting to fetch rat"
2626 wget --quiet ${URL} -O " $JAR "
2727}
2828
2929CURR_DIR=` pwd`
3030SOURCE_PACKAGE=${SOURCE_PACKAGE}
3131
32+ export RAT_VERSION=0.15
33+ export rat_jar=rat/apache-rat-${RAT_VERSION} .jar
34+
3235if [ -z " ${SOURCE_PACKAGE} " ]; then
3336 BASE_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " > /dev/null && pwd ) "
3437 PROJECT_ROOT=" ${BASE_DIR} /../"
3538 cd ${PROJECT_ROOT}
39+ ls
3640
3741 RUN_RAT=" java -jar ${rat_jar} -E ${PROJECT_ROOT} /dev/.rat-excludes -d ${PROJECT_ROOT} > rat/rat-results.txt"
3842else
4549fi
4650
4751mkdir -p rat
48- export RAT_VERSION=0.15
49- export rat_jar=rat/apache-rat-${RAT_VERSION} .jar
5052download_rat_jar
5153
5254$RUN_RAT
@@ -65,5 +67,3 @@ if [[ -n "${ERRORS}" ]]; then
6567else
6668 echo -e " RAT checks passed."
6769fi
68-
69-
You can’t perform that action at this time.
0 commit comments