From: Mark Wooding Date: Mon, 22 Dec 2014 20:32:58 +0000 (+0000) Subject: backend.py: Change default lock directory. X-Git-Tag: 1.2.0~13 X-Git-Url: https://git.distorted.org.uk/~mdw/chopwood/commitdiff_plain/d9ca01b99b8476719e958e0c6ec0a9fcda348e51 backend.py: Change default lock directory. All of the other state things end up under the working tree, so this should too. --- diff --git a/backend.py b/backend.py index d6fac78..576486c 100644 --- a/backend.py +++ b/backend.py @@ -37,7 +37,7 @@ import util as U CONF.DEFAULTS.update( ## A directory in which we can create lockfiles. - LOCKDIR = OS.path.join(ENV['HOME'], 'var', 'lock', 'chpwd')) + LOCKDIR = OS.path.join(HOME, 'lock')) ###-------------------------------------------------------------------------- ### Utilities.