1 |
#!/bin/bash |
#!/bin/bash |
2 |
# build all source packages for given distribution |
# build all source packages for given distribution |
3 |
|
# $Id$ |
4 |
|
|
5 |
: ${MAGERC="/etc/mage.rc"} |
: ${MAGERC="/etc/mage.rc"} |
6 |
|
|
38 |
while read EXPCAT EXPNAME EXPVER EXPBUILD |
while read EXPCAT EXPNAME EXPVER EXPBUILD |
39 |
do |
do |
40 |
# ignore spaces and comments |
# ignore spaces and comments |
41 |
case "${EXPCAT}" in |
case "${EXPCAT}" in |
42 |
\#*|"") continue ;; |
\#*|"") continue ;; |
43 |
esac |
esac |
44 |
|
|
45 |
# exclude full pver |
# exclude full pver |
46 |
if [[ -n ${PCAT} ]] && [[ -n ${PNAME} ]] && |
if [[ -n ${PCAT} ]] && [[ -n ${PNAME} ]] && |