Fix another problem with LEAF Bering and the compiler

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3779 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2006-04-07 20:30:00 +00:00
parent 3ad679e205
commit 559898a8c9

View File

@ -8558,9 +8558,9 @@ compile_firewall() # $1 = File Name
# END OVERLOADED FUNCTIONS
#
STATEDIR=$(mktempdir)
STATEDIR=$TMP_DIR/compiler_state/
[ -n "$STATEDIR" ] || fatal_error "Cannot create temporary directory in /tmp"
mkdir $STATEDIR || fatal_error "Cannot create temporary directory in $TMP_DIR"
if [ $COMMAND = compile ]; then
dir=$(dirname $1)