From: blundellc Date: Mon, 16 Mar 2009 20:34:07 +0000 (+0000) Subject: sh syntax in rc file. X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=2d0935f6ef1177e160bb2c81d71ce06c3db32121;p=cran2deb.git sh syntax in rc file. git-svn-id: svn://svn.r-forge.r-project.org/svnroot/cran2deb@201 edb9625f-4e0d-4859-8d74-9fd3b1da38cb --- diff --git a/trunk/exec/build_some b/trunk/exec/build_some index f02af9d..5d8178c 100755 --- a/trunk/exec/build_some +++ b/trunk/exec/build_some @@ -8,9 +8,9 @@ mkdir -p warn fail shift -if [ ! -e all_pkgs ]; then +if ([ ! -e all_pkgs ]) { cran2deb cran_pkgs $* >all_pkgs -fi +} for pkg in $(cat all_pkgs); do if (~ $pkg *..* */*) {