summaryrefslogtreecommitdiff
path: root/contrib/scripts/gnunet-logread/gnunet-logread.in
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/scripts/gnunet-logread/gnunet-logread.in')
-rwxr-xr-xcontrib/scripts/gnunet-logread/gnunet-logread.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/scripts/gnunet-logread/gnunet-logread.in b/contrib/scripts/gnunet-logread/gnunet-logread.in
index e27c1d3fc..ce588b8e6 100755
--- a/contrib/scripts/gnunet-logread/gnunet-logread.in
+++ b/contrib/scripts/gnunet-logread/gnunet-logread.in
@@ -29,7 +29,7 @@ my %levels = ( NONE => 0, ERROR => 1, WARNING => 2, INFO => 4, DEBUG => 8 );
# Message type numbers to names
my %msgtypes;
-my $prefix = $ENV{GNUNET_PREFIX} || '/usr';
+my $prefix = $ENV{GNUNET_PREFIX} || '@SUBSTPREFIX@';
my $filename = "$prefix/include/gnunet/gnunet_protocols.h";
$ipc = $opts{s} || $DEFAULT_SOCKET;