# ============= Output of "show" command for a single list =============
database_query_show_single_list ()
{
- local list pkgnamedb flag_filter_skip_unchanged flag_filter_only_target flag_negative_listdb tmpflag_exists put_blankline origin matches flag pkg table
+ local list pkgnamedb flag_filter_skip_unchanged flag_filter_only_target flag_negative_listdb tmpflag_exists put_blankline origin matches_negative matches_positive flag pkg table
local currentorigin_is_alll currentorigin_is_target currentorigin_is_requires_requirements
local currentorigin_is_initial_requirements currentorigin_is_requires_dependents
local currentorigin_is_initial_dependents currentorigin_is_requires_requirements_complement currentorigin_is_relevant
[ -n "$put_blankline" ] && message_echo
while read origin
do
- matches=no
+ matches_negative=no
for negative_listdb in $flag_negative_listdb
do
if grep -qFx "$origin" "${DBDIR}/$negative_listdb" 2> /dev/null
then
- matches=yes
+ matches_negative=yes
break
fi
done
- [ $matches = no ] && continue
+ [ $matches_negative = yes ] && continue
if [ -n "$flag_filter_skip_unchanged" -a $opt_skip_unchanged = yes ]
then
+ matches_positive=no
for flag in $flag_filter_skip_unchanged
do
if [ -e "${DBDIR}/requires/$origin/$flag" ]
then
- matches=yes
+ matches_positive=yes
break
fi
done
- [ $matches = no ] && continue
+ [ $matches_positive = no ] && continue
fi
if [ -n "$flag_filter_only_target" ]
then
MYVERSION=4.1.0
COMPATIBLE_VERSIONS='^(4\.[1]\.[0-9])$'
# Template for development versions
- MYVERSION=4.0.0+toward_4.1.0_20180918212945
+ MYVERSION=4.0.0+toward_4.1.0_20180919111149
COMPATIBLE_VERSIONS='^(4\.[0-1]\.[0-9]]|4\.[0]\.[0]+(|\+toward_4\.[0-1]\.[0-9]+_[0-9]+))$'
}
reinstall_skip 'Skipped because being irrelevant'
return 1
fi
- reinstall_skip_if_in_a_list 'Skipped because being a leaf port' leaf_ports_to_delete && return 1
+ reinstall_skip_if_in_a_list 'Skipped because being a leaf port' leaf_ports_to_delete.selected && return 1
rm -f "$REINSTALL_DBNODE_DIR/this_is_skipped_build_requirement"
if expr "$REINSTALL_CURRENTPKG" : '.* .*' > /dev/null
then