]> git.donarmstrong.com Git - neurodebian.git/blob - tools/nd_build4allnd
Also for stats report which repo and which job number use our setup
[neurodebian.git] / tools / nd_build4allnd
1 #!/bin/bash
2
3 if [ -z "$1" ]; then
4 cat << EOT
5 Backports and build a source package for all currently supported NeuroDebian
6 releases.
7
8 Synopsis
9 --------
10
11   nd_build4allnd <dsc file>
12 EOT
13 exit 1
14 fi
15
16 dscfile=$1; shift
17
18 . /etc/neurodebian/cmdsettings.sh
19
20 for d in $allnddists; do
21   dfamily=${d%%-*}
22   drelease=${d##*-}
23
24   bpdsc=$(nd_backport $drelease $dscfile | tail -n1 | sed -e 's/^.* //g')
25   nd_build $dfamily $drelease $bpdsc "$@" || :
26 done