You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by xi...@apache.org on 2023/05/23 02:53:01 UTC

[dolphinscheduler] branch dev updated: [Improvement-14080][script] cleanup dist directory at the beginning of check-LICENSE.sh (#14081)

This is an automated email from the ASF dual-hosted git repository.

xincheng pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/dev by this push:
     new 0ab2447d58 [Improvement-14080][script] cleanup dist directory at the beginning of check-LICENSE.sh (#14081)
0ab2447d58 is described below

commit 0ab2447d58f671aa41cd6dc40e9b764c5934f99d
Author: Rick Cheng <ri...@gmail.com>
AuthorDate: Tue May 23 10:52:50 2023 +0800

    [Improvement-14080][script] cleanup dist directory at the beginning of check-LICENSE.sh (#14081)
---
 tools/dependencies/check-LICENSE.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tools/dependencies/check-LICENSE.sh b/tools/dependencies/check-LICENSE.sh
index af1feb168b..76a6f92c17 100755
--- a/tools/dependencies/check-LICENSE.sh
+++ b/tools/dependencies/check-LICENSE.sh
@@ -17,6 +17,9 @@
 # limitations under the License.
 #
 
+if [ -d "dist" ];then
+rm -rf dist
+fi
 mkdir dist || true
 
 tar -zxf dolphinscheduler-dist/target/apache-dolphinscheduler*-bin.tar.gz --strip=1 -C dist