(4450f3514) whoops again

This commit is contained in:
juanjp600
2019-03-25 11:05:03 -03:00
parent 7edb33516d
commit 96003509b8

View File

@@ -126,7 +126,7 @@ branchshortsha="${branchsha:0:7}"
#assumes that the commit message starts with hash1...hash2 #assumes that the commit message starts with hash1...hash2
prevcommitmsg="$(git log -1 --pretty=%B)" prevcommitmsg="$(git log -1 --pretty=%B)"
prevcommitsha="${prevcommitmsg:10:7}" prevcommitsha="${prevcommitmsg:10:7}"
firstmsgchar="${prevcommitmsg:1:1}" firstmsgchar="${prevcommitmsg:0:1}"
if [ $firstmsgchar = "(" ]; then if [ $firstmsgchar = "(" ]; then
prevcommitsha="${prevcommitmsg:1:7}" prevcommitsha="${prevcommitmsg:1:7}"
fi fi