We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
/
1 parent ed0aac8 commit dffe530Copy full SHA for dffe530
1 file changed
stashcp.py
@@ -553,7 +553,7 @@ def get_best_stashcache():
553
if caches_json_location and os.path.exists(caches_json_location):
554
cache_files = [ caches_json_location ]
555
else:
556
- prefix = os.environ.get("OSG_LOCATION", "")
+ prefix = os.environ.get("OSG_LOCATION", "/")
557
cache_files = [os.path.join(os.path.dirname(os.path.realpath(__file__)), "caches.json"),
558
os.path.join(prefix, "etc/stashcache/caches.json"),
559
os.path.join(prefix, "usr/share/stashcache/caches.json")]
0 commit comments