[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 <williamhyun3@gmail.com> Signed-off-by: HyukjinKwon <gurwls223@apache.org>
This commit is contained in:
parent
df4a1c2256
commit
a459238523
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue