Commit 0a11fe9e authored by Francis Dupont's avatar Francis Dupont
Browse files

[538-kea-should-not-store-anything-in-var-kea-lsb-violation] Moved to...

[538-kea-should-not-store-anything-in-var-kea-lsb-violation] Moved to localstatedir/lib/kea for state files
parent 85c5b01d
......@@ -2,7 +2,7 @@ AUTOMAKE_OPTIONS = subdir-objects
SUBDIRS = . testutils tests benchmarks
dhcp_data_dir = @localstatedir@/@PACKAGE@
dhcp_data_dir = @localstatedir@/lib/@PACKAGE@
kea_lfc_location = @prefix@/sbin/kea-lfc
AM_CPPFLAGS = -I$(top_builddir)/src/lib -I$(top_srcdir)/src/lib -DDHCP_DATA_DIR="\"$(dhcp_data_dir)\""
......
......@@ -10,10 +10,10 @@ else
fi
# Need a path for temporary files created during upgrade data migration
# Use the state directory in the install path directory if it exists, otherwise
# Use the state directory in the install path directory if it exists, otherwise
# use the build tree
if [ -e "@localstatedir@/@PACKAGE_NAME@" ]; then
temp_file_dir="@localstatedir@/@PACKAGE_NAME@"
if [ -e "@localstatedir@/lib/@PACKAGE_NAME@" ]; then
temp_file_dir="@localstatedir@/lib/@PACKAGE_NAME@"
else
temp_file_dir="@abs_top_builddir@/src/share/database/scripts/cql"
fi
......
......@@ -10,10 +10,10 @@ else
fi
# Need a path for temporary files created during upgrade data migration
# Use the state directory in the install path directory if it exists, otherwise
# Use the state directory in the install path directory if it exists, otherwise
# use the build tree
if [ -e "@localstatedir@/@PACKAGE_NAME@" ]; then
temp_file_dir="@localstatedir@/@PACKAGE_NAME@"
if [ -e "@localstatedir@/lib/@PACKAGE_NAME@" ]; then
temp_file_dir="@localstatedir@/lib/@PACKAGE_NAME@"
else
temp_file_dir="@abs_top_builddir@/src/share/database/scripts/cql"
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