do not remove directories and files aggressively.

1.17.8.x
Yichun Zhang (agentzh) 4 years ago
parent d017d4cf24
commit f12147f5f4

@ -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

Loading…
Cancel
Save