Skip to content

Commit af57ef1

Browse files
author
yuzelin
committed
fix?
1 parent ffa6c0c commit af57ef1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

dev/check-licensing.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,14 @@
1717
# limitations under the License.
1818
################################################################################
1919

20+
set -e
21+
2022
download_rat_jar () {
2123
URL="https://repo.maven.apache.org/maven2/org/apache/rat/apache-rat/${RAT_VERSION}/apache-rat-${RAT_VERSION}.jar"
2224
JAR="$rat_jar"
2325

2426
# Download rat launch jar
25-
echo "Attempting to fetch rat\n"
27+
echo "Attempting to fetch rat"
2628
wget --quiet ${URL} -O "$JAR"
2729
}
2830

@@ -33,6 +35,7 @@ if [ -z "${SOURCE_PACKAGE}" ]; then
3335
BASE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
3436
PROJECT_ROOT="${BASE_DIR}/../"
3537
cd ${PROJECT_ROOT}
38+
ls
3639

3740
RUN_RAT="java -jar ${rat_jar} -E ${PROJECT_ROOT}/dev/.rat-excludes -d ${PROJECT_ROOT} > rat/rat-results.txt"
3841
else

0 commit comments

Comments
 (0)