From d23068e31a83cde9fce4bb1ad2484ac47e18e277 Mon Sep 17 00:00:00 2001 From: Loic Baron Date: Wed, 13 May 2015 11:42:28 +0200 Subject: [PATCH] portal_version working with apache --- myslice/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/myslice/settings.py b/myslice/settings.py index 0e0bf371..0caee25f 100644 --- a/myslice/settings.py +++ b/myslice/settings.py @@ -31,7 +31,7 @@ except: if not config.myslice.portal_version: try: - PORTAL_VERSION = subprocess.check_output(["git", "describe"]) + PORTAL_VERSION = subprocess.check_output(["git", "--git-dir", ROOT + "/.git", "describe"]) except: PORTAL_VERSION = 'not using git' -- 2.43.0