From 559898a8c9e8b1020d5a58fec7513678191800b6 Mon Sep 17 00:00:00 2001 From: teastep Date: Fri, 7 Apr 2006 20:30:00 +0000 Subject: [PATCH] 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 --- Shorewall/compiler | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Shorewall/compiler b/Shorewall/compiler index 2489e1262..fc11ebae0 100755 --- a/Shorewall/compiler +++ b/Shorewall/compiler @@ -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)