Search
j0ke.net Open Build Service
>
Projects
>
J0KE.NET
:
infrastructure
>
rubygems
> gem_build_cleanup
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File gem_build_cleanup of Package rubygems (Revision 2)
Currently displaying revision
2
,
show latest
#!/bin/sh if [ ${#*} = 1 ] ; then if [ -d "$1" ] ; then find $1 \ \( -name \*.o -o -name Makefile -o -name gem_make.out -o -name mkmf.log -o -name \*.bak -o -name CVS \) \ -print0 | xargs -r0 rm -v else echo "'$1' does not exists or is not a directory! Exiting." >&2 exit 1 fi else echo "Please pass exact one argument to this script! Exiting." >&2 exit 1 fi