Code

Change the environment variable NPTESTCACHE to NPTEST_CACHE for consistancy
[nagiosplug.git] / NPTest.pm
index f3c874b815bc36c816f08d6caa7a2c726038236d..201bc6ae7102bd942f438bfecc58eba8d4ddd4f5 100644 (file)
--- 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