aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/mgagit
diff options
context:
space:
mode:
Diffstat (limited to 'deployment/mgagit')
-rwxr-xr-xdeployment/mgagit/templates/git-post-receive-hook2
1 files changed, 1 insertions, 1 deletions
diff --git a/deployment/mgagit/templates/git-post-receive-hook b/deployment/mgagit/templates/git-post-receive-hook
index f0e71619..e07015e5 100755
--- a/deployment/mgagit/templates/git-post-receive-hook
+++ b/deployment/mgagit/templates/git-post-receive-hook
@@ -177,7 +177,7 @@ if __name__ == '__main__':
['for-each-ref', '--sort=-committerdate', "--format='%(committerdate:iso8601)'", '--count=1', 'refs/heads'],
)
modfile = open(os.path.join(infowebdir, 'last-modified'), 'w')
- modfile.write(lastupdated)
+ modfile.write(lastupdated.strip("'"))
modfile.close()
except Exception:
pass