source: ProjectBuilder/devel/contrib/mkallctn@ 2373

Last change on this file since 2373 was 2373, checked in by Bruno Cornec, 5 years ago

Add support forotherproject ctn build and use getconf for velist

  • Property svn:executable set to *
File size: 311 bytes
Line 
1#!/bin/bash
2#
3lwd=`dirname $0`
4PBPRJ=$1
5
6if [ _"$PBPRJ" = _"" ]; then
7 echo "Defaulting to building for pb itself"
8 PBPRJ="pb"
9fi
10
11distros=`pb -p $PBPRJ getconf velist`
12for pbos in `echo $distros | sed 's/,/ /g'`;
13do
14 d=`echo $pbos | cut -d'-' -f1`
15 v=`echo $pbos | cut -d'-' -f2`
16 $lwd/mkctn $PBPRJ $d $v
17done
Note: See TracBrowser for help on using the repository browser.