Change fgrep to grep.
authorWayne Davison <wayne@opencoder.net>
Fri, 7 Oct 2022 05:18:48 +0000 (22:18 -0700)
committerWayne Davison <wayne@opencoder.net>
Fri, 7 Oct 2022 05:18:48 +0000 (22:18 -0700)
packaging/pkglib.py

index 6f5557aaef983fb3446451ebc34af3852b7f717c..c4c5741df1d690115bc342e3e0088075b2ffb7bc 100644 (file)
@@ -176,7 +176,7 @@ def mandate_gensend_hook():
         print('Creating hook file:', hook)
         cmd_chk(['./rsync', '-a', 'packaging/pre-push', hook])
     else:
-        ct = cmd_txt(['fgrep', 'make gensend', hook], discard='output')
+        ct = cmd_txt(['grep', 'make gensend', hook], discard='output')
         if ct.rc:
             die('Please add a "make gensend" into your', hook, 'script.')