From f8eb05923ee88925d269e005e7a1c909211daff1 Mon Sep 17 00:00:00 2001 From: teastep Date: Sun, 1 Apr 2007 15:16:30 +0000 Subject: [PATCH] move some code around git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5783 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- New/Shorewall/Config.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/New/Shorewall/Config.pm b/New/Shorewall/Config.pm index 99b1b05c8..fe829d940 100644 --- a/New/Shorewall/Config.pm +++ b/New/Shorewall/Config.pm @@ -227,7 +227,9 @@ my $currentlinenumber = 0; my $tmp_dir; INIT { - $tmp_dir = $ENV{TMP_DIR}; + $tmp_dir = $ENV{TMP_DIR}; + @config_path = split /:/, $ENV{CONFIG_PATH}; + } # @@ -490,8 +492,6 @@ sub get_configuration( $ ) { my $export = $_[0]; - @config_path = split /:/, $ENV{CONFIG_PATH}; - for ( @config_path ) { $_ .= '/' unless m|//$|; }