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

Yeliz Taneroğlu yeliztaneroglu at gmail.com
Sat May 20 09:25:09 UTC 2017


 ure/source/uno |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 6c80b3730ebe5a95aa685e5f02c285edeb21d4a5
Author: Yeliz Taneroğlu <yeliztaneroglu at gmail.com>
Date:   Wed May 10 14:25:09 2017 +0300

    tdf#105204 fix shellcheck warnings in ure/source/uno
    
    Use $(..) instead of `..`,
    double quote to prevent word splitting.
    
    Change-Id: I80251d98e6fb27af5a18c202521050c8101131fa
    Reviewed-on: https://gerrit.libreoffice.org/37465
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Chris Sherlock <chris.sherlock79 at gmail.com>

diff --git a/ure/source/uno b/ure/source/uno
index eae7173acf7e..342c6e58a42e 100755
--- a/ure/source/uno
+++ b/ure/source/uno
@@ -26,11 +26,11 @@ for my_arg in "$@" ; do
 done
 
 # Extend the LD_LIBRARY_PATH for Java:
-epath=`dirname "$0"`
+epath=$(dirname "$0")
 if [ -x "${epath}/javaldx" ] ; then
-    jpath=`"${epath}/javaldx" $my_envargs`
+    jpath=$("${epath}/javaldx" "$my_envargs")
     if [ -n "${jpath}" ]; then
-        sd_platform=`uname -s`
+        sd_platform=$(uname -s)
         case $sd_platform in
           AIX)
             LIBPATH=${jpath}${LIBPATH:+:${LIBPATH}}


More information about the Libreoffice-commits mailing list