diff --git a/configure b/configure index 5474ee4..2894039 100755 --- a/configure +++ b/configure @@ -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 diff --git a/configure.in b/configure.in index 43d87e9..2b6e84e 100644 --- a/configure.in +++ b/configure.in @@ -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 diff --git a/src/prtget.cpp b/src/prtget.cpp index 89cea8d..8d983c8 100644 --- a/src/prtget.cpp +++ b/src/prtget.cpp @@ -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()); }