summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaromil <jaromil@dyne.org>2017-03-19 22:18:21 (GMT)
committer Jaromil <jaromil@dyne.org>2017-03-19 22:18:21 (GMT)
commit6ee764e1a9d83b073114fa88394a70737297cb46 (patch)
tree90dd1526201d7d4c34364c13ffdbe97ff3271afa
parent11de21e3c9c327c91de29bf2505ec1e821ff0d51 (diff)
fix to avoid recursion on compose command
-rwxr-xr-xsrc/jaro2
-rwxr-xr-xsrc/zlibs/email4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/jaro b/src/jaro
index 38ece38..12f8a32 100755
--- a/src/jaro
+++ b/src/jaro
@@ -586,7 +586,7 @@ main() {
case "$subcommand" in
- compose) compose ${option_params}
+ compose) stdin_compose ${option_params}
exitcode=$?
;;
diff --git a/src/zlibs/email b/src/zlibs/email
index 958f9df..58e5d8a 100755
--- a/src/zlibs/email
+++ b/src/zlibs/email
@@ -21,8 +21,8 @@
# Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
# extract all emails found in stdin, one per line
-compose() {
- fn compose $*
+stdin_compose() {
+ fn stdin_compose $*
# among the args parse recipient emails and files to attach
local _files=()