X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=etc%2Fsendfiles.in;h=5582b2a86f486cec798bedcbd21deec3cf0420d0;hp=a3545d19ba8df6e690fd4a295361d635c643dca1;hb=51cb63baa791f6ba84c0a7f8538ecfd00b013bcb;hpb=b067ff5c465a5d243ce5a19e562085a9a1a97215 diff --git a/etc/sendfiles.in b/etc/sendfiles.in index a3545d1..5582b2a 100755 --- a/etc/sendfiles.in +++ b/etc/sendfiles.in @@ -4,7 +4,6 @@ # image, in a MIME message. # -DELAY=0 FROM= # compression method (none, gzip or compress) @@ -24,7 +23,7 @@ elif command -v gzip >/dev/null 2>&1 ; then METHOD=gzip fi -# handle command-line options to override compression method and delay +# handle command-line options to override compression method while [ $# -gt 3 ]; do case "$1" in -gzip) @@ -39,10 +38,6 @@ while [ $# -gt 3 ]; do METHOD=none shift ;; - -*) - DELAY="`echo $1 | sed -e 's%-%%'`" - shift - ;; *) break ;; @@ -83,5 +78,4 @@ tar cvf - "$@" | $COMPRESS | \ %libdir%/viamail -to "$mailpath" -subject "$subject" \ -parameters "type=tar$CONVERSION" \ -comment "extract with $UNCOMPRESS | tar xvpf -" \ - -delay "$DELAY" \ -verbose $FROM