From: Don Armstrong <don@donarmstrong.com>
Date: Thu, 9 May 2013 18:08:17 +0000 (-0700)
Subject: update build_c2d to keep stderr too
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=3c32259022129161a07fdfe9c7eabe96e2228ad2;p=bin.git

update build_c2d to keep stderr too
---

diff --git a/build_c2d b/build_c2d
index 467e6f8..7dc80aa 100755
--- a/build_c2d
+++ b/build_c2d
@@ -3,9 +3,9 @@
 DATE=$(date +%Y%m%d)
 mkdir ~/c2d/build_results_${DATE}
 # update the packages we can build
-cran2deb update > ~/c2d/build_results_${DATE}/log.txt
+cran2deb update > ~/c2d/build_results_${DATE}/log.txt 2>&1
 # build tehm
-cran2deb autobuild >> ~/c2d/build_results_${DATE}/log.txt
+cran2deb autobuild >> ~/c2d/build_results_${DATE}/log.txt 2>&1
 # move them to a folder so we can sign and upload them
 find ~/c2d/cache/results/debian-amd64 -type f -print0 | \
     xargs -0r mv -t ~/c2d/build_results_${DATE}/