Kaydet (Commit) 3f9f18c5 authored tarafından Caolán McNamara's avatar Caolán McNamara

Resolves: rhbz#788045 swriter --help etc doesn't show help

because the test in soffice to skip oosplash is for only
one argument, and swriter points to soffice with an additional
--writer argument, so the test is skipped
üst 06957447
...@@ -158,8 +158,8 @@ if [ -n "$VALGRINDCHECK" -a -z "$VALGRIND" ] ; then ...@@ -158,8 +158,8 @@ if [ -n "$VALGRINDCHECK" -a -z "$VALGRIND" ] ; then
fi fi
# do not pass the request for command line help to oosplash # do not pass the request for command line help to oosplash
if test "$#" -eq 1; then for arg in $@ ; do
case "$1" in case "$arg" in
-h | --h | --he | --hel | --help) -h | --h | --he | --hel | --help)
"$sd_prog/soffice.bin" --help "$sd_prog/soffice.bin" --help
exit 0 exit 0
...@@ -171,7 +171,7 @@ if test "$#" -eq 1; then ...@@ -171,7 +171,7 @@ if test "$#" -eq 1; then
*) *)
;; ;;
esac esac
fi done
# oosplash does the rest: forcing pages in, javaldx etc. are # oosplash does the rest: forcing pages in, javaldx etc. are
exec $VALGRINDCHECK $STRACECHECK "$sd_prog/oosplash" "$@" exec $VALGRINDCHECK $STRACECHECK "$sd_prog/oosplash" "$@"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment