problem with mutt and gnupg
   
    Frank Derichsweiler
     
    fd-l-gpg@daidalos.informatik.unibw-muenchen.de
       
    Mon Jul  2 07:40:01 2001
    
    
  
On Sun, Jul 01, 2001 at 05:24:48PM -0500, Gary wrote:
> sh: pgpewrap: command not found
> 
> I cannot find anything on pgpewrap anywhere.  Can someone offer some
> insight?.  This happened with gnupg 1.4 and 1.6 now.. just in Progeny.
> 
I got a pgpewrap script with mutt 1.2.5i The script is as follows:
--- cut ---
#!/bin/sh --
cmd=$1
pfx=""
die() {
        echo "Command line usage: $0 [flags] -- prefix [recipients]"
	>& 2
        exit 1
}
while test $# -gt 0 && shift && test -n "$1" ; do
        if test "$1" = "--" ; then
                shift || die
                pfx="$1"
                shift || die
        fi
        cmd="$cmd $pfx $1"
done
exec $cmd
--- cut ---
HTH
Frank