From 36ffb6b8b49c27ccb28c1f8574d9ec9e2d371d67 Mon Sep 17 00:00:00 2001
From: pregmodfan <pregmodfan@cock.li>
Date: Fri, 10 Mar 2017 23:01:36 +0200
Subject: [PATCH] fix small issue in the possible word commit in annotations of
 commit

---
 compile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compile b/compile
index 5e89ed73c32..20a8daef3e4 100755
--- a/compile
+++ b/compile
@@ -6,7 +6,7 @@ cp src/config/start.tw.proto start.tw.tmp
 find src -name '*.tw' -print >>start.tw.tmp
 mv start.tw.tmp src/config/start.tw
 
-HASH=`git log -n1 |grep commit | sed 's/commit //'`
+HASH=`git log -n1 |grep -m1 commit | sed 's/commit //'`
 
 ./devTools/tweeGo/tweego -o bin/FC_pregmod_$HASH.html src/config/start.tw
 
-- 
GitLab