On Wednesday 25 May 2005 05:30 pm, "Michael W. Holdeman" <[EMAIL PROTECTED]>
wrote:
> Is there an option to let portage skip a failed ebuild and continue on,
> like --resume --skipfirst on unattende?
I like bash scripting:
if ! emerge <youropts>; then
while ! emerge --resume --skipfirst; do
/bin/true
done
fi
If you have to do it often enough, throw it into a script like so:
mkdir -p /usr/local/scripts
cd /usr/local/scripts
cat > emerge-without-yeilding-to-oncoming-traffic.sh << EOF
#!/bin/bash
if ! emerge "$@"; then
while ! emerge --resume --skipfirst; do
/bin/true
done
fi
EOF
ln
-s ../scripts/emerge-without-yeilding-to-oncoming-traffic.sh
/usr/local/bin/emerge-without-yeilding-to-oncoming-traffic
Of course, you can change the name of the script to something less verbose,
funny, and "political", if you want.
--
Boyd Stephen Smith Jr.
[EMAIL PROTECTED]
ICQ: 514984 YM/AIM: DaTwinkDaddy
--
[email protected] mailing list