]> git.donarmstrong.com Git - neurodebian.git/blob - tools/nd_build4allnd
Adapt all tools to the new config location and install them.
[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
17
18 . /etc/neurodebian/cmdsettings.sh
19
20 for d in $alldists; do
21   dfamily=${d%%-*}
22   drelease=${d##*-}
23
24   bpdsc=$(nd_backport $drelease $1 | tail -n1)
25   nd_build $dfamily $drelease $bpdsc
26 done