continuous: Fix last fixup patch
authorMichal Sojka <sojkam1@fel.cvut.cz>
Tue, 16 Aug 2016 06:10:19 +0000 (08:10 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Tue, 16 Aug 2016 06:10:19 +0000 (08:10 +0200)
continuous/steps/11-patch

index b4cca1f..509a244 100755 (executable)
@@ -58,7 +58,7 @@ if git rev-list --ancestry-path 9402c684613163888714df0955fa1f17142b08bf^..2c0f9
 EOF
 fi
 
-if git rev-list --ancestry-path 309b315b6ec686ce050758cc4e29f6ad1125a83f^..97f6e0cc35026a2a09147a6da636d901525e1969^; then
+if git rev-list --ancestry-path 309b315b6ec686ce050758cc4e29f6ad1125a83f^..97f6e0cc35026a2a09147a6da636d901525e1969^|grep -q $HEAD_SHA; then
     git show 97f6e0cc35026a2a09147a6da636d901525e1969 | git apply --index
 fi