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 29e0e754a01 fix 29e0e754a01 is described below commit 29e0e754a012cce3d4764f1b373dbf354ea947b5 Author: jiafeng.zhang <zhang...@gmail.com> AuthorDate: Mon Aug 15 13:24:25 2022 +0800 fix --- remove-non-reserved-dir.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/remove-non-reserved-dir.sh b/remove-non-reserved-dir.sh index fb4046e8a4f..fe769dec6fc 100644 --- a/remove-non-reserved-dir.sh +++ b/remove-non-reserved-dir.sh @@ -34,7 +34,11 @@ do if [ $(contains "${reserved[@]}" "$file") == "n" ]; then echo "delete $ROOT/$file" if [ $file != "remove-non-reserved-dir.sh"]; then - rm -rf $ROOT/$file + if [ [ $FILE =~ "remove-non-reserved-dir.sh" ] ]; then + echo "cannot delete $ROOT/$file" + else + rm -rf $ROOT/$file + fi fi fi done --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org