diff options
Diffstat (limited to 'SBO-Lib/lib/SBO/Lib.pm')
-rw-r--r-- | SBO-Lib/lib/SBO/Lib.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/SBO-Lib/lib/SBO/Lib.pm b/SBO-Lib/lib/SBO/Lib.pm index d5796f2..0f1eae2 100644 --- a/SBO-Lib/lib/SBO/Lib.pm +++ b/SBO-Lib/lib/SBO/Lib.pm @@ -91,8 +91,7 @@ use Fcntl qw(F_SETFD F_GETFD); # get $TMP from the env, if defined - we use two variables here because there # are times when we need to no if the environment variable is set, and other # times where it doesn't matter. -our $env_tmp; -$env_tmp = $ENV{TMP} if defined $ENV{TMP}; +our $env_tmp = $ENV{TMP}; our $tmpd = $env_tmp ? $env_tmp : '/tmp/SBo'; make_path($tmpd) unless -d $tmpd; |