File: cleanup

package info (click to toggle)
r-cran-rpf 1.0.14%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,484 kB
  • sloc: cpp: 5,364; sh: 114; ansic: 41; makefile: 2
file content (13 lines) | stat: -rwxr-xr-x 228 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

set -o errexit
set -o nounset
set -o noclobber

if [ ! -e src/rpf.c ]; then
  echo "$0 must be run from the top of the package directory"
  exit 1
fi

rm -f src/*.o src/*.so
find -name .Rhistory -print0 | xargs -0 rm