Export *DIR variables

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep
2010-03-03 10:39:18 -08:00
parent 49c1350aa0
commit 3f73b3c408
4 changed files with 25 additions and 9 deletions

View File

@@ -1208,6 +1208,10 @@ run_it() {
local options
local version
export CONFDIR
export SHAREDIR
export VARDIR
script=$1
shift
@@ -1233,7 +1237,7 @@ run_it() {
fi
else
#
# 4.4.8 or later -- no exports required
# 4.4.8 or later -- no additional exports required
#
options='-'
@@ -1246,7 +1250,7 @@ run_it() {
[ -n "$RESTOREFILE" ] && options="${options} -R $RESTOREFILE"
fi
$SHOREWALL_SHELL $script $options $@
}