]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
Reverted removal of prefix variable.
authorTomek Mrugalski <tomasz@isc.org>
Mon, 4 Mar 2019 15:00:27 +0000 (16:00 +0100)
committerTomek Mrugalski <tomek@isc.org>
Wed, 6 Mar 2019 14:15:29 +0000 (09:15 -0500)
src/bin/keactrl/keactrl.in

index 38f4863ad7c5c49cf48591385b44293e78142d43..ce712aadced832d5a05c9586e6c1cc3119ac6ae1 100644 (file)
@@ -56,7 +56,7 @@ is_in_list() {
 
 # Prints keactrl usage.
 usage() {
-    printf "usage is %s command [-c keactrl-config-file] [-s server[,server,..]]\n" $( basename "${0}" )
+    printf "usage is %s command [-c keactrl-config-file] [-s server[,server,..]]\n" "$( basename -- "${0}" )"
     printf "commands: start stop reload status version\n"
 }
 
@@ -319,6 +319,7 @@ run_conditional() {
 # altered and only the handful of initial messages will be logged
 # to the default file.
 if [ -z "${KEA_LOGGER_DESTINATION}" ]; then
+    prefix=@prefix@
     export KEA_LOGGER_DESTINATION=@localstatedir@/@PACKAGE@/kea.log
 fi
 
@@ -342,6 +343,7 @@ if [ ${_inlist} -eq 0 ]; then
 fi
 
 # Get the location of the keactrl configuration file.
+prefix=@prefix@
 keactrl_conf=@sysconfdir@/@PACKAGE@/keactrl.conf
 
 servers="all"