Skip to content

Commit dffe530

Browse files
committed
Use / as the default prefix
1 parent ed0aac8 commit dffe530

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

stashcp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ def get_best_stashcache():
553553
if caches_json_location and os.path.exists(caches_json_location):
554554
cache_files = [ caches_json_location ]
555555
else:
556-
prefix = os.environ.get("OSG_LOCATION", "")
556+
prefix = os.environ.get("OSG_LOCATION", "/")
557557
cache_files = [os.path.join(os.path.dirname(os.path.realpath(__file__)), "caches.json"),
558558
os.path.join(prefix, "etc/stashcache/caches.json"),
559559
os.path.join(prefix, "usr/share/stashcache/caches.json")]

0 commit comments

Comments
 (0)