]> git.donarmstrong.com Git - cran2deb.git/commitdiff
build_some: if there exists a previous list of packages in the current directory...
authorblundellc <blundellc@edb9625f-4e0d-4859-8d74-9fd3b1da38cb>
Sat, 13 Sep 2008 13:20:49 +0000 (13:20 +0000)
committerblundellc <blundellc@edb9625f-4e0d-4859-8d74-9fd3b1da38cb>
Sat, 13 Sep 2008 13:20:49 +0000 (13:20 +0000)
useful for comparative bulk builds.

git-svn-id: svn://svn.r-forge.r-project.org/svnroot/cran2deb@78 edb9625f-4e0d-4859-8d74-9fd3b1da38cb

pkg/trunk/exec/build_some

index 01e7764a0a25e175a498edb148784bbe2cd69d3a..6adee62df6651d7fe4ad84072647b48955349382 100755 (executable)
@@ -2,7 +2,9 @@
 
 mkdir -p warn fail
 shift
-cran2deb cran_pkgs $* >all_pkgs
+if ([ ! -e all_pkgs ]) {
+    cran2deb cran_pkgs $* >all_pkgs
+}
 for (pkg in `{cat all_pkgs}) {
     if (~ $pkg *..* */*) {
         echo bad name $pkg >>fail/ERROR