From 6d06e0c0fcacb82abeb211c4cabce7ac86fbde53 Mon Sep 17 00:00:00 2001 From: Diego Elio Pettenò Date: Mon, 25 Oct 2010 03:42:41 +0200 Subject: If there is not a previous configuration file for the kernel, skip over it. --- tinderbox-restart.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tinderbox-restart.sh b/tinderbox-restart.sh index b44df3d..f9d37d0 100755 --- a/tinderbox-restart.sh +++ b/tinderbox-restart.sh @@ -83,13 +83,13 @@ fi reset_emergelog -cp /usr/src/linux/.config /usr/src/config +[[ -f /usr/src/linux/.config ]] && cp /usr/src/linux/.config /usr/src/config if emerge -u1 sys-kernel/gentoo-sources && fgrep -q '>>> emerge' /var/log/emerge.log; then dent_me "new #gentoo-sources, making oldconfig" - cp /usr/src/config /usr/src/linux/.config + [[ -f /usr/src/config ]] && cp /usr/src/config /usr/src/linux/.config pushd /usr/src/linux make -j14 oldconfig && \ -- cgit v1.2.3-65-gdbad