You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by gu...@apache.org on 2020/11/23 01:49:10 UTC
[spark] branch branch-3.0 updated: [MINOR][INFRA] Suppress warning
in check-license
This is an automated email from the ASF dual-hosted git repository.
gurwls223 pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/branch-3.0 by this push:
new b70584f [MINOR][INFRA] Suppress warning in check-license
b70584f is described below
commit b70584f2894243b29b0549ca9d55b51074b46781
Author: William Hyun <wi...@gmail.com>
AuthorDate: Mon Nov 23 10:38:40 2020 +0900
[MINOR][INFRA] Suppress warning in check-license
### What changes were proposed in this pull request?
This PR aims to suppress the warning `File exists` in check-license
### Why are the changes needed?
**BEFORE**
```
% dev/check-license
Attempting to fetch rat
RAT checks passed.
% dev/check-license
mkdir: target: File exists
RAT checks passed.
```
**AFTER**
```
% dev/check-license
Attempting to fetch rat
RAT checks passed.
% dev/check-license
RAT checks passed.
```
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Manually do dev/check-license twice.
Closes #30460 from williamhyun/checklicense.
Authored-by: William Hyun <wi...@gmail.com>
Signed-off-by: HyukjinKwon <gu...@apache.org>
(cherry picked from commit a45923852342ce3f9454743a71740b09e6efe859)
Signed-off-by: HyukjinKwon <gu...@apache.org>
---
dev/check-license | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev/check-license b/dev/check-license
index 0cc17ff..bd25595 100755
--- a/dev/check-license
+++ b/dev/check-license
@@ -67,7 +67,7 @@ mkdir -p "$FWDIR"/lib
exit 1
}
-mkdir target
+mkdir -p target
$java_cmd -jar "$rat_jar" -E "$FWDIR"/dev/.rat-excludes -d "$FWDIR" > target/rat-results.txt
if [ $? -ne 0 ]; then
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org