Mercurial > hgrepos > FreeBSD > ports > sysutils > local-bsdtools
diff bin/check-ports @ 61:26cf051f6c93
Rename alldata_REPO_flag to alldata_flag_REPO
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Thu, 21 Mar 2019 01:11:12 +0100 |
| parents | ec0cc8a8f27a |
| children | 6c8ee1ef9ef2 |
line wrap: on
line diff
--- a/bin/check-ports Thu Mar 21 01:03:14 2019 +0100 +++ b/bin/check-ports Thu Mar 21 01:11:12 2019 +0100 @@ -116,8 +116,8 @@ alldata_flag="" -alldata_LocalBSDPorts_flag="" -alldata_LocalRepo_flag="" +alldata_flag_LocalBSDPorts="" +alldata_flag_LocalRepo="" short_flag="" verbose_flag="" @@ -126,8 +126,8 @@ A) # print for every package the status of all repositories alldata_flag=1 - alldata_LocalBSDPorts_flag=1 - alldata_LocalRepo_flag=1 + alldata_flag_LocalBSDPorts=1 + alldata_flag_LocalRepo=1 ;; a) # print the data of all repos that have the package @@ -221,10 +221,10 @@ print_title "${lfqp}" "${repository}" echo " INDEX: ${llabel} ${ldescr}" echo " FreeBSD: ${remote_label_FreeBSD} ${remote_descr_FreeBSD}" - if [ \( -n "${alldata_LocalBSDPorts_flag}" \) -o \( "${remote_label_LocalBSDPorts}" != '?' \) ] ; then + if [ \( -n "${alldata_flag_LocalBSDPorts}" \) -o \( "${remote_label_LocalBSDPorts}" != '?' \) ] ; then echo " LocalBSDPorts: ${remote_label_LocalBSDPorts} ${remote_descr_LocalBSDPorts}" fi - if [ \( -n "${alldata_LocalRepo_flag}" \) -o \( "${remote_label_LocalRepo}" != '?' \) ] ; then + if [ \( -n "${alldata_flag_LocalRepo}" \) -o \( "${remote_label_LocalRepo}" != '?' \) ] ; then echo " LocalRepo: ${remote_label_LocalRepo} ${remote_descr_LocalRepo}" fi fi
