[scripts] fix subshell drama

This commit is contained in:
Fabio Erculiani
2011-07-21 13:14:09 +02:00
parent c2bdbb9334
commit 1756f52a5c
3 changed files with 15 additions and 3 deletions

View File

@@ -1,6 +1,10 @@
#!/bin/sh
export FORCE_EAPI=2
equo update || ( sleep 1200 && equo update ) || exit 1
equo update
if [ "${?}" != "0" ]; then
sleep 1200 || exit 1
equo update || exit 1
fi
# disable all mirrors but GARR
sed -n -e "/pkg.sabayon.org/p" -e "/garr.it/p" -e "/^branch/p" \