diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2014-03-20 12:01:38 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2014-03-25 10:21:06 +0000 |
commit | d74f4cdcdcc93d8b62843266ca6cb5d4571a1ff1 (patch) | |
tree | 89eb849cb626a1e84ddd2582327054e45c4e9c5a | |
parent | fa424aaf483aa4b69a6bd7a5b2c5283d5fe9b7fe (diff) |
run-test.sh: cope with XDG_DATA_DIRS being empty
-rw-r--r-- | tests/dbus/run-test.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/dbus/run-test.sh.in b/tests/dbus/run-test.sh.in index 0628262fe..d3439486a 100644 --- a/tests/dbus/run-test.sh.in +++ b/tests/dbus/run-test.sh.in @@ -6,7 +6,7 @@ if [ `readlink -e "$0"` != "$script_fullname" ] ; then exit 1 fi -XDG_DATA_DIRS=@tpglibtestsdir@:$XDG_DATA_DIRS +XDG_DATA_DIRS=@tpglibtestsdir@:${XDG_DATA_DIRS:-/usr/local/share:/usr/share} export XDG_DATA_DIRS G_SLICE=debug-blocks export G_SLICE |