From 004ce6f5e23804c55d62ebbff73e57f02360763e Mon Sep 17 00:00:00 2001 From: Peter Bray Date: Mon, 25 Jul 2005 14:17:48 +0000 Subject: [PATCH] Change the environment variable NPTESTCACHE to NPTEST_CACHE for consistancy git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1208 f882894a-f735-0410-b71e-b25c423dba1c --- NPTest.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NPTest.pm b/NPTest.pm index f3c874b..201bc6a 100644 --- a/NPTest.pm +++ b/NPTest.pm @@ -202,8 +202,8 @@ my( %CACHE ) = (); # I'm not really sure wether to house a site-specific cache inside # or outside of the extracted source / build tree - lets default to outside -my( $CACHEFILENAME ) = ( exists( $ENV{'NPTESTCACHE'} ) && $ENV{'NPTESTCACHE'} ) - ? $ENV{'NPTESTCACHE'} : "/var/tmp/NPTest.cache"; # "../Cache.pdd"; +my( $CACHEFILENAME ) = ( exists( $ENV{'NPTEST_CACHE'} ) && $ENV{'NPTEST_CACHE'} ) + ? $ENV{'NPTEST_CACHE'} : "/var/tmp/NPTest.cache"; # "../Cache.pdd"; # # Testing Functions -- 2.30.2