e6a9dc22a4
Use $(..) instead of `..`, use && and || instead of -a and -o, double quote to prevent word splitting, handle cd failure. Change-Id: I860891323a81ac4a46c868ab028df1e1f837c115 Reviewed-on: https://gerrit.libreoffice.org/33897 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
4 lines
65 B
Bash
Executable file
4 lines
65 B
Bash
Executable file
#!/bin/sh
|
|
|
|
cmd=$(dirname "$0")/soffice
|
|
exec "$cmd" --writer "$@"
|