Accepting request 116706 from devel:languages:ruby:1.9
- make this package a wrapper around the default ruby - ruby19 for now OBS-URL: https://build.opensuse.org/request/show/116706 OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby?expand=0&rev=27
This commit is contained in:
committed by
Git OBS Bridge
parent
9df7175785
commit
0c35e79f90
14
gem_build_cleanup
Normal file
14
gem_build_cleanup
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
if [ ${#*} = 1 ] ; then
|
||||
if [ -d "$1" ] ; then
|
||||
find $1 \
|
||||
\( -name \*.o -o -name Makefile -o -name config.log -o -name config.status -o -name Makefile.html -o -name gem_make.out -o -name mkmf.log -o -name \*.bak -o -name .deps -o -name .libs -o -name CVS \) \
|
||||
-print0 | xargs -r0 rm -rv || :
|
||||
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
|
Reference in New Issue
Block a user