From 98df3b9942a94d3c539edf641e4fa30f36991c88 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Mon, 27 Sep 2010 14:47:25 -0400 Subject: [PATCH] BF: extract only the last entry in the last line of nd_backport output --- tools/nd_build4allnd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5