From 7e8367e955bfd3a5efb7dcc32ea600f21a1067b3 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Sun, 3 Feb 2013 16:25:18 +0000 Subject: Doh, don't put in generated rcynic.conf. svn path=/branches/tk377/; revision=5018 --- configure.ac | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index ea6a39f6..3abf4dfe 100644 --- a/configure.ac +++ b/configure.ac @@ -243,11 +243,13 @@ esac if test "X$RCYNIC_DIR" = "X" then - RCYNIC_DIR='${DESTDIR}/var/rcynic' + rcynic_base_dir='/var/rcynic' else - RCYNIC_DIR='${DESTDIR}'"${RCYNIC_DIR}" + rcynic_base_dir="${RCYNIC_DIR}" fi +RCYNIC_DIR='${DESTDIR}'"${rcynic_base_dir}" + # Figure out whether to run rcynic in a chroot jail, which determines # a bunch of other settings. @@ -275,8 +277,8 @@ case $enable_rcynic_jail in RCYNIC_TA_DIR='${DESTDIR}${sysconfdir}/rpki/trust-anchors' RCYNIC_BIN_RCYNIC='${DESTDIR}${bindir}/rcynic' RCYNIC_CONF_RSYNC="${RSYNC}" - RCYNIC_CONF_DATA='${RCYNIC_DIR}/data' - RCYNIC_CONF_TA_DIR="${RCYNIC_TA_DIR}" + RCYNIC_CONF_DATA="${rcynic_base_dir}/data" + RCYNIC_CONF_TA_DIR='${sysconfdir}/rpki/trust-anchors' RCYNIC_CRON_USER='${RCYNIC_USER}' RCYNIC_JAIL_DIRS='' ;; -- cgit v1.2.3