Resolve SHOREWALL_DIR -- Take 2

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5082 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2006-12-10 04:31:43 +00:00
parent 4a03728092
commit 97f0e9ca6f

View File

@ -1853,7 +1853,7 @@ do_initialize() {
[ -f $VERSION_FILE ] && VERSION=$(cat $VERSION_FILE)
if [ -n "$SHOREWALL_DIR" ]; then
SHOREWALL_DIR=(resolve_file $SHOREWALL_DIR)
SHOREWALL_DIR=$(resolve_file $SHOREWALL_DIR)
CONFIG_PATH=$SHOREWALL_DIR:$CONFIG_PATH
fi