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

jiafengzheng pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/doris-website.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new d344536ebc2 update remove-non-reserved-dir.sh
d344536ebc2 is described below

commit d344536ebc2d8bdab12b0edf662e8d59753d6b7d
Author: jiafeng.zhang <zhang...@gmail.com>
AuthorDate: Mon Aug 15 13:02:58 2022 +0800

    update remove-non-reserved-dir.sh
---
 remove-non-reserved-dir.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/remove-non-reserved-dir.sh b/remove-non-reserved-dir.sh
index 42a3d65be95..fb4046e8a4f 100644
--- a/remove-non-reserved-dir.sh
+++ b/remove-non-reserved-dir.sh
@@ -33,6 +33,8 @@ for file in `ls -a $ROOT`
 do
     if [ $(contains "${reserved[@]}" "$file") == "n" ]; then
         echo "delete $ROOT/$file"
-        rm -rf $ROOT/$file
+        if [ $file != "remove-non-reserved-dir.sh"]; then
+           rm -rf $ROOT/$file
+        fi
     fi
 done


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to