From cc305a928ae7898ffd7129e470c91269f13a1ebc Mon Sep 17 00:00:00 2001 From: Matteo Rossini Date: Thu, 19 May 2016 21:24:18 +0200 Subject: [PATCH] WW_FILE_SEARCH should affect file-search only --- src/slackpkgplus.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slackpkgplus.sh b/src/slackpkgplus.sh index d02574b..2d60131 100755 --- a/src/slackpkgplus.sh +++ b/src/slackpkgplus.sh @@ -1000,7 +1000,6 @@ if [ "$SLACKPKGPLUS" = "on" ];then [ "$SPINNING" = "off" ] || spinning ${TMPDIR}/waiting & [ "$SENSITIVE_SEARCH" = "off" ] && GREPOPTS="--ignore-case" - [ ! "$WW_FILE_SEARCH" = "off" ] && GREPOPTS="$GREPOPTS --word-regexp" # -- PKGLIST: # temporary file used to store data about packages. It uses @@ -1018,6 +1017,7 @@ if [ "$SLACKPKGPLUS" = "on" ];then if [ "$CMD" == "file-search" ] ; then [ ! -e "${WORKDIR}/${DIR}-filelist.gz" ] && continue + [ ! "$WW_FILE_SEARCH" = "off" ] && GREPOPTS="$GREPOPTS --word-regexp" # NOTE: # The awk below produces an output formatted like