Add a third default.
[oweals/gnunet.git] / src / util / util.conf
index 15d806abfa6ab7b017b3bc24098f685b6ed829d7..cdc4d3d67f09727c5baf38d903c0a1d97ca51440 100644 (file)
@@ -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