From de239cf7a0b3da1fc7482aa44628b6fabcdc9c97 Mon Sep 17 00:00:00 2001 From: blundellc Date: Mon, 16 Mar 2009 20:35:49 +0000 Subject: [PATCH] sh syntax in rc file (more). git-svn-id: svn://svn.r-forge.r-project.org/svnroot/cran2deb@202 edb9625f-4e0d-4859-8d74-9fd3b1da38cb --- trunk/exec/build_some | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trunk/exec/build_some b/trunk/exec/build_some index 5d8178c..da105fd 100755 --- a/trunk/exec/build_some +++ b/trunk/exec/build_some @@ -12,7 +12,7 @@ if ([ ! -e all_pkgs ]) { cran2deb cran_pkgs $* >all_pkgs } -for pkg in $(cat all_pkgs); do +for (pkg in `{cat all_pkgs}) { if (~ $pkg *..* */*) { echo bad name $pkg >>fail/ERROR } else if ([ -e warn/$pkg ]) { @@ -34,4 +34,4 @@ for pkg in $(cat all_pkgs); do echo FAILED } } -done +} -- 2.39.5