Changed singularity prebuilt cache dir to sg.install.cache

This commit is contained in:
Drake Arconis
2013-11-16 14:28:25 -05:00
parent 7fa5abd4d1
commit 3e2f1a8fd9
2 changed files with 4 additions and 4 deletions

View File

@@ -835,10 +835,10 @@ def _default_installable_cache():
"""In general, the installable files do not change much, so find a
host/user specific location to cache files."""
user = _getuser()
cache_dir = "/var/tmp/%s/install.cache" % user
cache_dir = "/var/tmp/%s/sg.install.cache" % user
if _get_platform() == 'windows':
cache_dir = os.path.join(tempfile.gettempdir(), \
'install.cache.%s' % user)
'sg.install.cache.%s' % user)
return cache_dir
def parse_args():