]> git.donarmstrong.com Git - neurodebian.git/blobdiff - tools/nd_build4allnd
BF: extract only the last entry in the last line of nd_backport output
[neurodebian.git] / 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