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
RevLine 
[2351]1#!/bin/bash
2#
[2369]3lwd=`dirname $0`
[2373]4PBPRJ=$1
[2351]5
[2373]6if [ _"$PBPRJ" = _"" ]; then
7 echo "Defaulting to building for pb itself"
8 PBPRJ="pb"
9fi
10
11distros=`pb -p $PBPRJ getconf velist`
[2356]12for pbos in `echo $distros | sed 's/,/ /g'`;
[2351]13do
[2356]14 d=`echo $pbos | cut -d'-' -f1`
15 v=`echo $pbos | cut -d'-' -f2`
[2373]16 $lwd/mkctn $PBPRJ $d $v
[2351]17done
Note: See TracBrowser for help on using the repository browser.