]> git.ipfire.org Git - thirdparty/HylaFAX.git/commitdiff
grep for '-- data' nees to use the grep -e <PATTERN> method or else the
authorAidan Van Dyk <aidan@ifax.com>
Fri, 5 Jan 2007 19:08:31 +0000 (19:08 +0000)
committerAidan Van Dyk <aidan@ifax.com>
Fri, 5 Jan 2007 19:08:31 +0000 (19:08 +0000)
"-- data" is taken as regular arguments to grep.

util/notify.sh.in

index f8323e7e8801b1fdb342e3a240c3695a3daf0205..0b644ae370deb67555e44ddcc1f773c7139ee476 100644 (file)
@@ -99,7 +99,7 @@ parseQfile
 # We need a few special things
 ## - SESSION_LOG
 if [ -f "log/c$commid" ]; then
-       SESSION_LOG="`cat log/c$commid | grep -v '-- data'`"
+       SESSION_LOG="`cat log/c$commid | $GREP -v -e '-- data'`"
 fi
 
 if [ "$doneop" = "default" ] ; then