diff options
author | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2015-05-11 22:58:25 +0200 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2015-05-11 23:05:54 +0200 |
commit | 23c0e00b50f7fae7a82134ef064eabf9514a941b (patch) | |
tree | 39a558cd9a21e069644a5f50130058f754c075c8 /desktop/scripts/unoinfo-mac.sh | |
parent | d425cc7c73a8ad3d693216742d75b0f7f1bf5f89 (diff) |
Add some quoting to shell scripts.
I'd be surprised if the places given want globs and word
splitting...
Change-Id: I0eb9f2d39ac43479ee06a2477ba309a8e1944d20
Diffstat (limited to 'desktop/scripts/unoinfo-mac.sh')
-rwxr-xr-x | desktop/scripts/unoinfo-mac.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/scripts/unoinfo-mac.sh b/desktop/scripts/unoinfo-mac.sh index 3c482fc91527..ca15291dd307 100755 --- a/desktop/scripts/unoinfo-mac.sh +++ b/desktop/scripts/unoinfo-mac.sh @@ -20,7 +20,7 @@ set -e # resolve installation directory -sd_res=$0 +sd_res="$0" while [ -h "$sd_res" ] ; do cd "`dirname "$sd_res"`" sd_basename=`basename "$sd_res"` @@ -29,7 +29,7 @@ done cd "`dirname "$sd_res"`" sd_prog=`pwd` -case $1 in +case "$1" in c++) printf '%s' "$sd_prog/../Frameworks" ;; |