summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtinderbox-restart.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tinderbox-restart.sh b/tinderbox-restart.sh
index 31b313b..58d025f 100755
--- a/tinderbox-restart.sh
+++ b/tinderbox-restart.sh
@@ -42,7 +42,7 @@ reset_emergelog
emerge -u1 portage
emerge -u1 gcc
-if fgrep -q '>>> emerge' /var/log/emerge.log; then
+if fgrep -q '>>> emerge' /var/log/emerge.log && gcc-config -l | tail -n 1 | grep -v asneeded; then
./update-gcc-asneeded.sh
exit 0
fi