forked from Mirror/frr
build: fix default scriptdir path
Should be /etc/frr/scripts, not /usr/lib/frr/scripts :) Signed-off-by: Quentin Young <qlyoung@nvidia.com>
This commit is contained in:
parent
0833300a7a
commit
c4db9bfaaf
|
@ -138,7 +138,7 @@ AC_ARG_WITH([moduledir], [AS_HELP_STRING([--with-moduledir=DIR], [module directo
|
||||||
])
|
])
|
||||||
AC_SUBST([moduledir], [$moduledir])
|
AC_SUBST([moduledir], [$moduledir])
|
||||||
|
|
||||||
AC_ARG_WITH([scriptdir], [AS_HELP_STRING([--with-scriptdir=DIR], [script directory (${libdir}/frr/scripts)])], [
|
AC_ARG_WITH([scriptdir], [AS_HELP_STRING([--with-scriptdir=DIR], [script directory (${sysconfdir}/scripts)])], [
|
||||||
scriptdir="$withval"
|
scriptdir="$withval"
|
||||||
], [
|
], [
|
||||||
scriptdir="\${sysconfdir}/scripts"
|
scriptdir="\${sysconfdir}/scripts"
|
||||||
|
|
Loading…
Reference in a new issue