Added a regex fix for listinst, updated to version 5.19.4

This commit is contained in:
Matt Housh 2020-10-13 09:44:00 -05:00
parent 8f9a1254ff
commit ac030e3530
3 changed files with 4 additions and 3 deletions

2
configure vendored
View File

@ -2585,7 +2585,7 @@ fi
# Define the identity of the package.
PACKAGE=prt-get
VERSION=5.19.3
VERSION=5.19.4
cat >>confdefs.h <<_ACEOF

View File

@ -1,7 +1,7 @@
# Process this file with autoconf to produce a configure script.
AC_INIT
AC_CONFIG_SRCDIR([src/prtget.cpp])
AM_INIT_AUTOMAKE(prt-get,5.19.3)
AM_INIT_AUTOMAKE(prt-get,5.19.4)
dnl Determine default prefix

View File

@ -524,7 +524,8 @@ void PrtGet::listInstalled()
{
assertMaxArgCount(1);
string arg = "*";
string arg = m_useRegex ? ".*" : "*";
if ( m_parser->otherArgs().size() == 1 ) {
arg = *(m_parser->otherArgs().begin());
}