Kaydet (Commit) 7a004720 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Better fix for the valgrind.log problem.

Only redirect to valgrind.log if --valgrind but not $VALGRIND is given.
üst d5bd3342
...@@ -151,6 +151,12 @@ if [ -n "$GDBTRACECHECK" ] ; then ...@@ -151,6 +151,12 @@ if [ -n "$GDBTRACECHECK" ] ; then
exec $GDBTRACECHECK "$sd_prog/soffice.bin" "$@" exec $GDBTRACECHECK "$sd_prog/soffice.bin" "$@"
fi fi
# valgrind --log-file=valgrind.log does not work well with --trace-children=yes
if [ -n "$VALGRINDCHECK" -a -z "$VALGRIND" ] ; then
echo "redirecting the standard and the error output to valgrind.log"
exec &>valgrind.log
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 if test "$#" -eq 1; then
case "$1" in case "$1" in
......
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