[Libreoffice-commits] core.git: shell/source

Stephan Bergmann sbergman at redhat.com
Tue May 30 16:18:05 UTC 2017


 shell/source/unix/misc/senddoc.sh |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit ac82ba97f330e1675931ae9a25f96a3255d18d89
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue May 30 18:16:29 2017 +0200

    Revert those quotes that look broken
    
    ...from 2b916da6cdcf3f7abe7e10f83321576ae2695954 "tdf#105204 fix shellcheck
    warning in shell/source/unix/misc/senddoc.sh"
    
    Change-Id: Iad55c5f4ff97f39ba117e525f2e660b537b00367

diff --git a/shell/source/unix/misc/senddoc.sh b/shell/source/unix/misc/senddoc.sh
index 02e95423561d..372cee475fe2 100755
--- a/shell/source/unix/misc/senddoc.sh
+++ b/shell/source/unix/misc/senddoc.sh
@@ -337,7 +337,7 @@ case $(basename "$MAILER" | sed 's/-.*$//') in
             shift;
         done
 
-        ${MAILER} "${TO:+-T}" "${TO:-}" "${ATTACH:+-a}" "${ATTACH:+"${ATTACH}"}"
+        ${MAILER} ${TO:+-T} ${TO:-} ${ATTACH:+-a} ${ATTACH:+"${ATTACH}"}
         ;;
 
     sylpheed | claws)
@@ -358,7 +358,7 @@ case $(basename "$MAILER" | sed 's/-.*$//') in
             shift;
         done
 
-         ${MAILER} "${TO:+--compose}" "${TO:-}" "${ATTACH:+--attach}" "${ATTACH:-}"
+         ${MAILER} ${TO:+--compose} ${TO:-} ${ATTACH:+--attach} ${ATTACH:-}
         ;;
 
     Mail | Thunderbird | *.app )
@@ -375,7 +375,7 @@ case $(basename "$MAILER" | sed 's/-.*$//') in
             esac
             shift;
         done
-        /usr/bin/open -a "${MAILER}" "${ATTACH}"
+        /usr/bin/open -a "${MAILER}" ${ATTACH}
         ;;
 
     *)


More information about the Libreoffice-commits mailing list