Commit 910052c1 authored by unknown's avatar unknown

Datadir variable should not be reset, if it was

set in this script.

parent 4e1d88af
...@@ -56,12 +56,18 @@ if test -z "$basedir" ...@@ -56,12 +56,18 @@ if test -z "$basedir"
then then
basedir=@prefix@ basedir=@prefix@
bindir=@bindir@ bindir=@bindir@
if test -z "$datadir"
then
datadir=@localstatedir@ datadir=@localstatedir@
fi
sbindir=@sbindir@ sbindir=@sbindir@
libexecdir=@libexecdir@ libexecdir=@libexecdir@
else else
bindir="$basedir/bin" bindir="$basedir/bin"
if test -z "$datadir"
then
datadir="$basedir/data" datadir="$basedir/data"
fi
sbindir="$basedir/sbin" sbindir="$basedir/sbin"
libexecdir="$basedir/libexec" libexecdir="$basedir/libexec"
fi fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment