From: Loic Baron Date: Wed, 13 May 2015 09:42:28 +0000 (+0200) Subject: portal_version working with apache X-Git-Tag: myslice-1.5~47 X-Git-Url: http://git.onelab.eu/?p=unfold.git;a=commitdiff_plain;h=d23068e31a83cde9fce4bb1ad2484ac47e18e277 portal_version working with apache --- 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'