| 1 | #!/bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | |
| 3 | # This cleans up after the auxillary files that were created when installing |
| 4 | # the XML package. The R INSTALL command takes care of the others. |
| 5 | # |
| 6 | # This is a slightly modified version of Torsten Hothorn's original contribution |
| 7 | # to work using the Bourne shell and for non-GNU versions of test. |
| 8 | |
| 9 | |
| 10 | echoscip-shell system . . echo. " Cleaning up after installing the XML package" |
| 11 | |
| 12 | for f in config.log config.status config.cache ; do |
| 13 | if testscip-shell system . . test. -w $f ; then |
| 14 | rmscip-shell system . . rm. -f $f |
| 15 | fi |
| 16 | done |
| 17 | |
| 18 | for f in src/Makevars R/supports.R inst/scripts/RSXML.csh inst/scripts/RSXML.bsh src/Makevars ; do |
| 19 | if testscip-shell system . . test. -w $f ; then |
| 20 | rmscip-shell system . . rm. -f $f |
| 21 | fi |
| 22 | done |
| 23 | |
| 24 | |
| 25 | exit 0 |