We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac31ecb commit 56140e7Copy full SHA for 56140e7
1 file changed
dev/check-licensing.sh
@@ -50,7 +50,7 @@ else
50
PACKAGE_DIR="${SOURCE_PACKAGE:0:$((${#SOURCE_PACKAGE} - ${#EXTENSION}))}"
51
tar -xf ${SOURCE_PACKAGE}
52
53
- RUN_RAT="java -jar ${rat_jar} -d ${PACKAGE_DIR}"
+ RUN_RAT="java -jar ${rat_jar} -e PKG-INFO -e setup.cfg -e pypaimon.egg-info/* -d ${PACKAGE_DIR}"
54
fi
55
56
mkdir -p rat
@@ -65,6 +65,12 @@ fi
65
66
ERRORS="$(cat rat/rat-results.txt | grep -e "??")"
67
68
+# clean
69
+rm -rf rat
70
+if [ -d "$PACKAGE_DIR" ]; then
71
+ rm -rf $PACKAGE_DIR
72
+fi
73
+
74
if [[ -n "${ERRORS}" ]]; then
75
echo "Could not find Apache license headers in the following files:"
76
echo ${ERRORS}
0 commit comments