projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rearranged whitespace (and comments) in all the code!
[mmh]
/
etc
/
sendfiles.in
diff --git
a/etc/sendfiles.in
b/etc/sendfiles.in
index
85ec6f0
..
a3545d1
100755
(executable)
--- a/
etc/sendfiles.in
+++ b/
etc/sendfiles.in
@@
-27,20
+27,25
@@
fi
# handle command-line options to override compression method and delay
while [ $# -gt 3 ]; do
case "$1" in
# handle command-line options to override compression method and delay
while [ $# -gt 3 ]; do
case "$1" in
- -gzip) METHOD=gzip
- shift
- ;;
- -compress) METHOD=compress
- shift
- ;;
- -none) METHOD=none
- shift
- ;;
- -*) DELAY="`echo $1 | sed -e 's%-%%'`"
- shift
- ;;
- *) break
- ;;
+ -gzip)
+ METHOD=gzip
+ shift
+ ;;
+ -compress)
+ METHOD=compress
+ shift
+ ;;
+ -none)
+ METHOD=none
+ shift
+ ;;
+ -*)
+ DELAY="`echo $1 | sed -e 's%-%%'`"
+ shift
+ ;;
+ *)
+ break
+ ;;
esac
done
esac
done
@@
-76,7
+81,7
@@
echo "files = $*" 1>&2
tar cvf - "$@" | $COMPRESS | \
%libdir%/viamail -to "$mailpath" -subject "$subject" \
tar cvf - "$@" | $COMPRESS | \
%libdir%/viamail -to "$mailpath" -subject "$subject" \
- -parameters "type=tar$CONVERSION" \
- -comment "extract with $UNCOMPRESS | tar xvpf -" \
- -delay "$DELAY" \
- -verbose $FROM
+ -parameters "type=tar$CONVERSION" \
+ -comment "extract with $UNCOMPRESS | tar xvpf -" \
+ -delay "$DELAY" \
+ -verbose $FROM