File: cleanup

package info (click to toggle)
r-cran-rpf 1.0.5+dfsg-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 1,472 kB
  • sloc: cpp: 5,370; sh: 114; ansic: 41; makefile: 2
file content (13 lines) | stat: -rwxr-xr-x 228 bytes parent folder | download
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