From f12147f5f42e22ba93720bb13dba99e381a386bd Mon Sep 17 00:00:00 2001 From: "Yichun Zhang (agentzh)" Date: Mon, 13 Jul 2020 10:50:42 -0700 Subject: [PATCH] do not remove directories and files aggressively. --- util/mirror-tarballs | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/util/mirror-tarballs b/util/mirror-tarballs index 3706996..1e346cc 100755 --- a/util/mirror-tarballs +++ b/util/mirror-tarballs @@ -945,22 +945,22 @@ done cd $curdir || exit 1 #find bundle -name '*.md' -delete #find bundle -name '*.markdown' -delete -find bundle -name '*.wiki' -delete +#find bundle -name '*.wiki' -delete find bundle -name '*~' -delete find bundle -name '.*' -delete find bundle -name '*.orig' -delete -find bundle -name '*.yml' -delete -find bundle -name '*.ini' -delete -find bundle -name '*.sql' -delete -find bundle -name '*.suppress' -delete -find bundle -name '*.rockspec' -delete -find bundle -name '*.spec' -delete -find bundle -name '*.json' -delete +#find bundle -name '*.yml' -delete +#find bundle -name '*.ini' -delete +#find bundle -name '*.sql' -delete +#find bundle -name '*.suppress' -delete +#find bundle -name '*.rockspec' -delete +#find bundle -name '*.spec' -delete +#find bundle -name '*.json' -delete #find bundle -name '*.pm' -delete -find bundle -name '*.stp' -delete -find bundle -type d -name 't' -exec rm -r {} + -find bundle -type d -name 'web' -exec rm -r {} + # opm web/ dir -find bundle -type d -name 'util' -exec rm -r {} + +#find bundle -name '*.stp' -delete +#find bundle -type d -name 't' -exec rm -r {} + +#find bundle -type d -name 'web' -exec rm -r {} + # opm web/ dir +#find bundle -type d -name 'util' -exec rm -r {} + cd $root || exit 1