diff options
Diffstat (limited to 'slackware64/tcl')
-rw-r--r-- | slackware64/tcl/maketag | 2 | ||||
-rw-r--r-- | slackware64/tcl/maketag.ez | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/slackware64/tcl/maketag b/slackware64/tcl/maketag index f18d9e7c..9c4c42c0 100644 --- a/slackware64/tcl/maketag +++ b/slackware64/tcl/maketag @@ -34,7 +34,7 @@ cat /dev/null > $TMP/SeTnewtag for PACKAGE in \ expect hfsutils tcl tclx tix tk \ ; 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/tcl/maketag.ez b/slackware64/tcl/maketag.ez index f18d9e7c..9c4c42c0 100644 --- a/slackware64/tcl/maketag.ez +++ b/slackware64/tcl/maketag.ez @@ -34,7 +34,7 @@ cat /dev/null > $TMP/SeTnewtag for PACKAGE in \ expect hfsutils tcl tclx tix tk \ ; 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 |