File: cleanup.sh.in

package info (click to toggle)
libdap 3.20.7-6
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 24,448 kB
  • sloc: cpp: 52,490; sh: 40,745; xml: 23,511; ansic: 20,030; yacc: 2,520; exp: 1,544; makefile: 1,057; lex: 309; perl: 52; fortran: 8
file content (24 lines) | stat: -rwxr-xr-x 612 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh
#
# remove stuff that accumulates between runs of the HTTPCacheTest unit tests.

# sometimes have trouble deleting dods_cache during distcheck
if [ -d dods_cache ]
then
    chmod -R +w dods_cache
fi
rm -rf dods_cache

# initialize the dods_cache directory
cp -r @srcdir@/dods_cache_init dods_cache
# make sure we can write to the directory and sub directories
chmod -R +w dods_cache
# remove the .svn directory from dods_cache
rm -rf `find dods_cache -name .svn`

# remove generated cache directories
rm -rf gc_cache
rm -rf purge_cache
rm -rf header_cache
rm -rf interrupt_cache
rm -rf singleton_cache