]> git.donarmstrong.com Git - bin.git/commitdiff
update build_c2d to keep stderr too
authorDon Armstrong <don@donarmstrong.com>
Thu, 9 May 2013 18:08:17 +0000 (11:08 -0700)
committerDon Armstrong <don@donarmstrong.com>
Thu, 9 May 2013 18:08:17 +0000 (11:08 -0700)
build_c2d

index 467e6f8295bc78c30bbc3e8351697e0a9bb46797..7dc80aa881e5386e80c26b139a5ac6e8578cbfd2 100755 (executable)
--- 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}/