Files
macports-ports/python/py-gitfs/files/patch-utils-args.py.diff
Eric F 8cfd3e397b py-gitfs: new port
- Use github release, since pypi doesn't have the latest version.
  - Closes: https://trac.macports.org/ticket/52249
2021-06-08 21:28:57 -04:00

12 lines
453 B
Diff

--- gitfs/utils/args.py.orig 2019-10-20 13:00:10.000000000 +0200
+++ gitfs/utils/args.py 2020-10-03 14:38:43.000000000 +0200
@@ -182,7 +182,7 @@
return "{}@{}".format(args.user, socket.gethostname())
def get_repo_path(self, args):
- return tempfile.mkdtemp(dir="/var/lib/gitfs")
+ return tempfile.mkdtemp(dir="@@PREFIX@@/var/lib/gitfs")
def get_ssh_key(self, args):
return os.environ["HOME"] + "/.ssh/id_rsa"