projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86dab64
)
Add a third default.
author
Bruno Cabral
<bcabral@uw.edu>
Sun, 17 Nov 2013 23:00:52 +0000
(23:00 +0000)
committer
Bruno Cabral
<bcabral@uw.edu>
Sun, 17 Nov 2013 23:00:52 +0000
(23:00 +0000)
$HOME is not set on W32, and it refuses to work without it.
src/util/util.conf
patch
|
blob
|
history
diff --git
a/src/util/util.conf
b/src/util/util.conf
index 15d806abfa6ab7b017b3bc24098f685b6ed829d7..cdc4d3d67f09727c5baf38d903c0a1d97ca51440 100644
(file)
--- 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