2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 14:05:33 +00:00

[#2071] Check existence of file vs of a parent directory

This commit is contained in:
Francis Dupont
2022-08-05 11:51:04 +02:00
parent 7f0df803fd
commit d43a731e7d

View File

@@ -48,14 +48,14 @@ dump_file=""
dump_qry=""
# 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"
else
. "@abs_top_srcdir@/src/bin/admin/admin-utils.sh"
fi
# 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"
else
kea_lfc="@abs_top_builddir@/src/bin/lfc/kea-lfc"