summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYeliz Taneroğlu <yeliztaneroglu@gmail.com>2017-05-10 14:25:09 +0300
committerChris Sherlock <chris.sherlock79@gmail.com>2017-05-20 11:24:48 +0200
commit6c80b3730ebe5a95aa685e5f02c285edeb21d4a5 (patch)
tree49a2ad5eb4196983701cb2a980963eb19b581acc
parent8b850cad43d718d0d5c4b8a6dcef97781757c366 (diff)
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@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
-rwxr-xr-xure/source/uno6
1 files changed, 3 insertions, 3 deletions
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}}