diff options
Diffstat (limited to 'src/util/util.conf')
-rw-r--r-- | src/util/util.conf | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/util/util.conf b/src/util/util.conf index b7f9deb04..7a4d3c704 100644 --- a/src/util/util.conf +++ b/src/util/util.conf | |||
@@ -5,7 +5,10 @@ | |||
5 | # defaults with the syntax "${VAR:-default}". Here, "default" can again | 5 | # defaults with the syntax "${VAR:-default}". Here, "default" can again |
6 | # be a $-expression. | 6 | # be a $-expression. |
7 | # | 7 | # |
8 | GNUNET_HOME = $HOME | 8 | # We usually want $HOME for $GNUNET_HOME, but we allow testcases to |
9 | # easily override this by setting $GNUNET_TEST_HOME. | ||
10 | # | ||
11 | GNUNET_HOME = ${GNUNET_TEST_HOME:-$HOME} | ||
9 | 12 | ||
10 | # see XDG Base Directory Specification at | 13 | # see XDG Base Directory Specification at |
11 | # http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html | 14 | # http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html |
@@ -24,8 +27,8 @@ GNUNET_CACHE_HOME = ${XDG_CACHE_HOME:-$GNUNET_HOME/.cache/}gnunet/ | |||
24 | GNUNET_RUNTIME_DIR = ${XDG_RUNTIME_DIR:-${TMPDIR:-${TMP:-/tmp}}}gnunet/ | 27 | GNUNET_RUNTIME_DIR = ${XDG_RUNTIME_DIR:-${TMPDIR:-${TMP:-/tmp}}}gnunet/ |
25 | 28 | ||
26 | # Legacy option... | 29 | # Legacy option... |
27 | SERVICEHOME = ~/.gnunet/ | 30 | GNUNET_TEST_HOME = ~/.gnunet/ |
28 | # SERVICEHOME = /var/lib/gnunet/ | 31 | # GNUNET_TEST_HOME = /var/lib/gnunet/ |
29 | 32 | ||
30 | # DEFAULTCONFIG = /etc/gnunet.conf | 33 | # DEFAULTCONFIG = /etc/gnunet.conf |
31 | # If 'DEFAULTCONFIG' is not defined, the current | 34 | # If 'DEFAULTCONFIG' is not defined, the current |