]> diplodocus.org Git - nmh/blobdiff - test/fakesendmail
Replace GNUism with standard touch flag in test-scan-file.
[nmh] / test / fakesendmail
index 97f63b15d25a1e1fd6af84a6e0bdcb626cd4eddf..81b976203ab7651b0f655fd21ce4607cc26c072a 100755 (executable)
@@ -15,7 +15,7 @@ if [ "$MH_TEST_DIR"x = x ]; then
 fi
 
 #### Puts message on stdin in a drop that the test knows about.
-deliver="$MH_LIB_DIR/rcvpack $MH_TEST_DIR/Mail/fakesendmail.mbox"
+deliver="$MH_LIBEXEC_DIR/rcvpack $MH_TEST_DIR/Mail/fakesendmail.mbox"
 
 found_dasht=0
 for arg in "$@"; do
@@ -43,7 +43,5 @@ if [ $found_dasht -eq 0 ]; then
   done
 else
   # sendmail/pipe
-
-  #### This will delete any lines in the message body that start with Bcc:!
-  sed -e '/^[Bb][Cc][Cc]:/d' | $deliver
+  $deliver
 fi