chiark
/
gitweb
/
~ianmdlvl
/
post-pizza-notify.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
swap argument order, support spaces in email address list
[post-pizza-notify.git]
/
notify
diff --git
a/notify
b/notify
index 833d46ee724ff5f99199a4efc0b0d81f2e0e1751..83bf60804aa21ba143cffbf823f0cf99820e062f 100755
(executable)
--- a/
notify
+++ b/
notify
@@
-36,7
+36,7
@@
while read method data; do
printf >&2 "$method"
exec 3>&2 2>&1
set -x
- ./"via-$method"
$data "$msg"
2>&1
+ ./"via-$method"
"$msg" $data
2>&1
rc=$?
set +x
exec 2>&3 3>&-