Append product name to ${vardir}

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2012-03-30 15:01:34 -07:00
parent 7c0a0d81f8
commit 6a2f907ee1

View File

@ -41,6 +41,7 @@ if [ -z "$g_readrc" ]; then
g_libexec="$LIBEXECDIR" g_libexec="$LIBEXECDIR"
g_sharedir="$SHAREDIR" g_sharedir="$SHAREDIR"
g_sbindir="$SBINDIR" g_sbindir="$SBINDIR"
g_vardir="$VARDIR"
g_readrc=1 g_readrc=1
fi fi
@ -83,6 +84,8 @@ case $g_program in
;; ;;
esac esac
VARDIR=${VARDIR}/${g_program}
# #
# Conditionally produce message # Conditionally produce message
# #