All pastes #36185 Raw Edit

Anonymous

public text v1 · immutable
#36185 ·published 2006-01-08 19:26 UTC
rendered paste body
#!/bin/bash
ARGS=$*
if [ -z ${ARGS} ]; then
	ARGS="."
fi

#STATUS=$(svn st ${ARGS} 2>&1)

#echo ${STATUS} | grep .swp 2>&1 > /dev/null
#if [ $? != 1 ]; then
#	echo "VIM swap files found!"
#	find ${ARGS} -name ".*.swp"
#	exit 1
#fi

for ebuild in $(svn st ${ARGS} 2>&1|grep '^[AM].*.ebuild'|sed -e 's/[AM]\s*//');
do
	ebuild $ebuild digest
done