]> git.donarmstrong.com Git - neurodebian.git/commitdiff
BF: extract only the last entry in the last line of nd_backport output
authorYaroslav Halchenko <debian@onerussian.com>
Mon, 27 Sep 2010 18:47:25 +0000 (14:47 -0400)
committerYaroslav Halchenko <debian@onerussian.com>
Mon, 27 Sep 2010 18:47:25 +0000 (14:47 -0400)
tools/nd_build4allnd

index ea4284a60d3a2d06c03410e62ab7dbc28b674395..6344490b76aca2bb5689d50ca20d353d9b1c4c7b 100755 (executable)
@@ -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