This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new 9693ce71 Allow override of Cache directory
9693ce71 is described below

commit 9693ce712f44b3cae2c032c515a147e018c7a2c9
Author: Sebb <s...@apache.org>
AuthorDate: Sun May 5 12:34:31 2024 +0100

    Allow override of Cache directory
---
 tools/site-scan.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/site-scan.rb b/tools/site-scan.rb
index a7f5750c..e40e5462 100755
--- a/tools/site-scan.rb
+++ b/tools/site-scan.rb
@@ -334,7 +334,7 @@ end
 # Main execution begins here
 results = {}
 podlings = {}
-$cache = Cache.new(dir: 'site-scan')
+$cache = Cache.new(dir: ENV['SITE_SCAN_CACHE'] || 'site-scan')
 $verbose = ARGV.delete '--verbose'
 $saveparse = ARGV.delete '--saveparse'
 $skipresourcecheck = ARGV.delete '--noresource'

Reply via email to