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