mirror of
https://github.com/zuno/slackpkgplus
synced 2025-01-13 20:01:04 +01:00
WW_FILE_SEARCH should affect file-search only
This commit is contained in:
parent
98103d1df1
commit
cc305a928a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue