Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
4 lines (3 sloc) 253 Bytes
export DESTDIR=$HOME/Projects/ruby-lib-bug
find . -name mkmf.log |xargs -I{} -L 1 sh -c 'mkdir -p $DESTDIR/$(dirname {}) && cp {} $DESTDIR/{}'
find . -name '*.bundle' |xargs -I{} -L 1 sh -c 'mkdir -p $DESTDIR/$(dirname {}) && otool -L {} > $DESTDIR/{}'