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 9ae45f5b74b fix
9ae45f5b74b is described below
commit 9ae45f5b74b20feb289ca2037b95469b66e84f1e
Author: jiafeng.zhang <[email protected]>
AuthorDate: Tue Aug 16 17:03:53 2022 +0800
fix
---
remove-non-reserved-dir.sh | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/remove-non-reserved-dir.sh b/remove-non-reserved-dir.sh
index fe769dec6fc..bf89f5f50f2 100644
--- a/remove-non-reserved-dir.sh
+++ b/remove-non-reserved-dir.sh
@@ -8,7 +8,6 @@ ROOT=`cd "$ROOT"; pwd`
reserved=(
build
remove-non-reserved-dir.sh
-versions.json
.asf.yaml
.nojekyll
.git
@@ -32,13 +31,6 @@ function contains() {
for file in `ls -a $ROOT`
do
if [ $(contains "${reserved[@]}" "$file") == "n" ]; then
- echo "delete $ROOT/$file"
- if [ $file != "remove-non-reserved-dir.sh"]; then
- if [ [ $FILE =~ "remove-non-reserved-dir.sh" ] ]; then
- echo "cannot delete $ROOT/$file"
- else
- rm -rf $ROOT/$file
- fi
- fi
+ rm -rf $ROOT/$file
fi
done
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]