From: Yaroslav Halchenko Date: Mon, 27 Sep 2010 18:47:25 +0000 (-0400) Subject: BF: extract only the last entry in the last line of nd_backport output X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=98df3b9942a94d3c539edf641e4fa30f36991c88;p=neurodebian.git BF: extract only the last entry in the last line of nd_backport output --- diff --git a/tools/nd_build4allnd b/tools/nd_build4allnd index ea4284a..6344490 100755 --- a/tools/nd_build4allnd +++ b/tools/nd_build4allnd @@ -21,6 +21,6 @@ for d in $alldists; do dfamily=${d%%-*} drelease=${d##*-} - bpdsc=$(nd_backport $drelease $1 | tail -n1) + bpdsc=$(nd_backport $drelease $1 | tail -n1 | sed -e 's/^.* //g') nd_build $dfamily $drelease $bpdsc done