From: Bruno Cabral Date: Sun, 17 Nov 2013 23:00:52 +0000 (+0000) Subject: Add a third default. X-Git-Tag: initial-import-from-subversion-38251~6043 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b205514cf813d9024ff2080f6b531831a0154f41;p=oweals%2Fgnunet.git Add a third default. $HOME is not set on W32, and it refuses to work without it. --- diff --git a/src/util/util.conf b/src/util/util.conf index 15d806abf..cdc4d3d67 100644 --- a/src/util/util.conf +++ b/src/util/util.conf @@ -8,7 +8,7 @@ # We usually want $HOME for $GNUNET_HOME, but we allow testcases to # easily override this by setting $GNUNET_TEST_HOME. # -GNUNET_HOME = ${GNUNET_TEST_HOME:-$HOME} +GNUNET_HOME = ${GNUNET_TEST_HOME:-${HOME:-${USERPROFILE}}} # see XDG Base Directory Specification at # http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html