]> git.donarmstrong.com Git - bin.git/commitdiff
add build_c2d
authorDon Armstrong <don@donarmstrong.com>
Thu, 4 Oct 2012 19:04:06 +0000 (19:04 +0000)
committerDon Armstrong <don@donarmstrong.com>
Thu, 4 Oct 2012 19:04:06 +0000 (19:04 +0000)
build_c2d [new file with mode: 0755]

diff --git a/build_c2d b/build_c2d
new file mode 100755 (executable)
index 0000000..032f030
--- /dev/null
+++ b/build_c2d
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+DATE=$(date +%Y%m%d)
+mkdir ~/c2d/build_results_${DATE}
+cran2deb update > ~/c2d/build_results_${DATE}/log.txt
+cran2deb autobuild >> ~/c2d/build_results_${DATE}/log.txt
+find ~/c2d/cache/debian-amd64 -type f -print0 |xargs -0r mv -t ~/c2d/build_results_${DATE}/