syncthingtray/plasmoid/scripts/starttesting.sh
Martchus 80704e0028 Adapt test environment for Plasmoid
Apparently just setting HOME does not work anymore. At least in my Plasma
setup XDG_DATA_HOME and XDG_CONFIG_HOME are now interfering. This change
introduced an extra helper script to take care of the environment variables
which unsets the XDG_… variables and also takes care of QT_PLUGIN_PATH by
the way.
2020-08-18 01:20:06 +02:00

6 lines
106 B
Bash
Executable File

#!/bin/bash
set -e
script_dir=$(dirname "${BASH_SOURCE[0]}")
source "$script_dir/settestenv.sh"
exec "$@"