# HG changeset patch # User Franz Glasner # Date 1553127072 -3600 # Node ID 26cf051f6c93f121f3b1cccdee1e1a9a7483d46a # Parent ec0cc8a8f27a5d01eb658b42ecd9792d8dbce43d Rename alldata_REPO_flag to alldata_flag_REPO diff -r ec0cc8a8f27a -r 26cf051f6c93 bin/check-ports --- 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