diff options
Diffstat (limited to 'slackware64/t')
-rw-r--r-- | slackware64/t/maketag | 2 | ||||
-rw-r--r-- | slackware64/t/maketag.ez | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/slackware64/t/maketag b/slackware64/t/maketag index 508d959d..3b077d34 100644 --- a/slackware64/t/maketag +++ b/slackware64/t/maketag @@ -31,7 +31,7 @@ cat /dev/null > $TMP/SeTnewtag for PACKAGE in \ tetex tetex-doc transfig xfig \ ; do - if fgrep \"$PACKAGE\" $TMP/SeTpkgs 1> /dev/null 2> /dev/null ; then + if grep "\(^\| \)$PACKAGE\( \|$\)" $TMP/SeTpkgs 1> /dev/null 2> /dev/null ; then echo "$PACKAGE: ADD" >> $TMP/SeTnewtag else echo "$PACKAGE: SKP" >> $TMP/SeTnewtag diff --git a/slackware64/t/maketag.ez b/slackware64/t/maketag.ez index 508d959d..3b077d34 100644 --- a/slackware64/t/maketag.ez +++ b/slackware64/t/maketag.ez @@ -31,7 +31,7 @@ cat /dev/null > $TMP/SeTnewtag for PACKAGE in \ tetex tetex-doc transfig xfig \ ; do - if fgrep \"$PACKAGE\" $TMP/SeTpkgs 1> /dev/null 2> /dev/null ; then + if grep "\(^\| \)$PACKAGE\( \|$\)" $TMP/SeTpkgs 1> /dev/null 2> /dev/null ; then echo "$PACKAGE: ADD" >> $TMP/SeTnewtag else echo "$PACKAGE: SKP" >> $TMP/SeTnewtag |