From 7c55efc4375c27396aae520edb9e012d913b8907 Mon Sep 17 00:00:00 2001 From: VirtuBox Date: Thu, 28 Apr 2022 13:16:56 +0200 Subject: [PATCH] Fix path --- wo/core/git.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wo/core/git.py b/wo/core/git.py index b95155e..7af8185 100644 --- a/wo/core/git.py +++ b/wo/core/git.py @@ -30,7 +30,7 @@ class WOGit: Log.debug(self, "{0}".format(e)) Log.error(self, "Unable to git init at {0}" .format(path)) - if not WOFileUtils.grep(self, "/root/.gitconfig", + if not WOFileUtils.grep(self, "$HOME/.gitconfig", "{0}".format(path)): git.config("--global", "--add", "safe.directory", "{0}".format(path))