mv "$srpm" "${srpm}.compiled" might work after the build command.
will this (or is there a way to make it) respond only to errors?
No - check out if statements for that.
i.e.
for srpm in *.src.rpm
do rpmbuild --rebuild --target i686 $srpm
# if exit code is not zero
if [ $? -ne 0 ]
then
mv $srpm ${srpm}.failed
else
mv $srpm ${srpm}.compiled
fi
done-Rick -- Rick Johnson, RHCE #807302311706007 - [EMAIL PROTECTED] Linux/Network Administrator - Medata, Inc. (from home) PGP Public Key: https://mail.medata.com/pgp/rjohnson.asc
-- Phoebe-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/phoebe-list
