File: cleanup

package info (click to toggle)
r-cran-xml 3.98-1.5-1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 9,464 kB
  • ctags: 636
  • sloc: xml: 79,579; ansic: 6,518; asm: 644; sh: 16; makefile: 1
file content (25 lines) | stat: -rwxr-xr-x 619 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/sh

# This cleans up after the auxillary files that were created when installing
# the XML package. The R INSTALL command takes care of the others.
#
# This is a slightly modified version of Torsten Hothorn's original contribution
# to work using the Bourne shell and for non-GNU versions of test.
 

echo "  Cleaning up after installing the XML package"

for f in config.log config.status config.cache ; do
  if test -w $f ; then
    rm -f $f
  fi
done

for f in src/Makevars R/supports.R inst/scripts/RSXML.csh inst/scripts/RSXML.bsh src/Makevars ; do
 if test -w $f ; then
      rm -f $f
 fi
done


exit 0