From: blundellc Date: Sat, 13 Sep 2008 13:20:49 +0000 (+0000) Subject: build_some: if there exists a previous list of packages in the current directory... X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=3039154be1aa10689420969f3d76e33523d697c1;p=cran2deb.git build_some: if there exists a previous list of packages in the current directory, use that. useful for comparative bulk builds. git-svn-id: svn://svn.r-forge.r-project.org/svnroot/cran2deb@78 edb9625f-4e0d-4859-8d74-9fd3b1da38cb --- diff --git a/pkg/trunk/exec/build_some b/pkg/trunk/exec/build_some index 01e7764..6adee62 100755 --- a/pkg/trunk/exec/build_some +++ b/pkg/trunk/exec/build_some @@ -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