From 61dca767f4c175a75a2991f14a90eb99a3b1e480 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Tue, 28 Jan 2014 16:59:27 +0100 Subject: [PATCH] Fix typo in fd-commit --- fd-commit | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fd-commit b/fd-commit index 478850b6..9a8b51f3 100755 --- a/fd-commit +++ b/fd-commit @@ -62,6 +62,7 @@ while read line; do onlybuild=true newbuild=false + disable=false while read l; do if [[ "$l" == "-Build:"* ]]; then onlybuild=false @@ -74,7 +75,7 @@ while read line; do version=${build%%,*} build=${build#*,} vercode=${build%%,*} - elif $newbuild && $onlybuild [[ "$l" == "+"*"disable="* ]]; then + elif $newbuild && $onlybuild && [[ "$l" == "+"*"disable="* ]]; then disable=true fi done < <(git diff HEAD -- "$file")