public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Liam McLoughlin" <hexxeh@hexxeh.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gentoaster:master commit in: /
Date: Fri, 12 Aug 2011 23:17:54 +0000 (UTC)	[thread overview]
Message-ID: <5010a66fb5f1213650410f6fa737dc6db96d8b37.hexxeh@gentoo> (raw)
Message-ID: <20110812231754.KAJCDX9T0huWYRHVgIbLRmkkN2GCCfW1vJQ6CBL17eU@z> (raw)

commit:     5010a66fb5f1213650410f6fa737dc6db96d8b37
Author:     Liam McLoughlin <hexxeh <AT> hexxeh <DOT> net>
AuthorDate: Fri Jul 15 20:41:32 2011 +0000
Commit:     Liam McLoughlin <hexxeh <AT> hexxeh <DOT> net>
CommitDate: Fri Jul 15 20:41:32 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gentoaster.git;a=commit;h=5010a66f

Also, let's NOT trash the log file when things go wrong. REALLY bad idea.

---
 create_image.sh |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/create_image.sh b/create_image.sh
index 77664f1..cc4e366 100755
--- a/create_image.sh
+++ b/create_image.sh
@@ -73,6 +73,7 @@ cleanup_mounts() {
 handle_error() {
 	echo "$1" 
 	cd ${IMAGE_WORK_PATH}
+	mv ${LOG_FILE} ${IMAGES_OUTPUT_PATH}/${BUILD_ID}.log || handle_error "Error moving log file"
 	cleanup_mounts && rm -rf ${IMAGE_WORK_PATH}
 	exit 1
 }



             reply	other threads:[~2011-08-12 23:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-15 20:41 Liam McLoughlin [this message]
2011-08-12 23:17 ` [gentoo-commits] proj/gentoaster:master commit in: / Liam McLoughlin
  -- strict thread matches above, loose matches on Subject: below --
2011-07-28  1:53 [gentoo-commits] proj/gentoaster:webui " Liam McLoughlin
2011-08-11 20:31 Liam McLoughlin
2011-08-12 23:17 [gentoo-commits] proj/gentoaster:master " Liam McLoughlin
2011-07-15 20:40 ` [gentoo-commits] proj/gentoaster:webui " Liam McLoughlin
2011-08-12 23:17 [gentoo-commits] proj/gentoaster:master " Liam McLoughlin
2011-07-28  4:05 ` [gentoo-commits] proj/gentoaster:webui " Liam McLoughlin
2011-08-12 23:18 [gentoo-commits] proj/gentoaster:master " Liam McLoughlin
2011-08-11 20:31 ` [gentoo-commits] proj/gentoaster:webui " Liam McLoughlin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5010a66fb5f1213650410f6fa737dc6db96d8b37.hexxeh@gentoo \
    --to=hexxeh@hexxeh.net \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox