Allow --prefix= to install to /sbin
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
parent
15b8d386b3
commit
84b7acf55f
@ -106,7 +106,7 @@ AM_CONDITIONAL([HAVE_SYSTEMD], [test "x$with_systemd" != "xno"])
|
|||||||
# Expand $sbindir early, into $SBINDIR, for systemd unit file
|
# Expand $sbindir early, into $SBINDIR, for systemd unit file
|
||||||
# NOTE: This does *not* take prefix/exec_prefix override at "make
|
# NOTE: This does *not* take prefix/exec_prefix override at "make
|
||||||
# install" into account, unfortunately.
|
# install" into account, unfortunately.
|
||||||
test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
test "x$prefix" = xNONE && prefix=
|
||||||
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
|
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
|
||||||
SBINDIR=`eval echo $sbindir`
|
SBINDIR=`eval echo $sbindir`
|
||||||
SBINDIR=`eval echo $SBINDIR`
|
SBINDIR=`eval echo $SBINDIR`
|
||||||
|
Loading…
Reference in New Issue
Block a user