mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-03 07:25:18 +00:00
[#2071] Check existence of file vs of a parent directory
This commit is contained in:
@@ -48,14 +48,14 @@ dump_file=""
|
|||||||
dump_qry=""
|
dump_qry=""
|
||||||
|
|
||||||
# Include the installed admin-utils.sh if available. Fallback to sources otherwise.
|
# Include the installed admin-utils.sh if available. Fallback to sources otherwise.
|
||||||
if test -d "@datarootdir@/@PACKAGE_NAME@"; then
|
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
|
||||||
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
|
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
|
||||||
else
|
else
|
||||||
. "@abs_top_srcdir@/src/bin/admin/admin-utils.sh"
|
. "@abs_top_srcdir@/src/bin/admin/admin-utils.sh"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Find the installed kea-lfc if available. Fallback to sources otherwise.
|
# Find the installed kea-lfc if available. Fallback to sources otherwise.
|
||||||
if test -d "@sbindir@"; then
|
if test -x "@sbindir@/kea-lfc"; then
|
||||||
kea_lfc="@sbindir@/kea-lfc"
|
kea_lfc="@sbindir@/kea-lfc"
|
||||||
else
|
else
|
||||||
kea_lfc="@abs_top_builddir@/src/bin/lfc/kea-lfc"
|
kea_lfc="@abs_top_builddir@/src/bin/lfc/kea-lfc"
|
||||||
|
Reference in New Issue
Block a user