diff --git a/hack/verify-godeps.sh b/hack/verify-godeps.sh index fa35371e400..949d40082e5 100755 --- a/hack/verify-godeps.sh +++ b/hack/verify-godeps.sh @@ -95,7 +95,7 @@ git init > /dev/null 2>&1 hack/godep-save.sh # Test for diffs -if ! _out="$(diff -Naupr --ignore-matching-lines='^\s*\"GoVersion\":' --ignore-matching-lines='^\s*\"Comment\":' ${KUBE_ROOT}/Godeps/Godeps.json ${_kubetmp}/Godeps/Godeps.json)"; then +if ! _out="$(diff -Naupr --ignore-matching-lines='^\s*\"GoVersion\":' --ignore-matching-line='^\s*\"GodepVersion\":' --ignore-matching-lines='^\s*\"Comment\":' ${KUBE_ROOT}/Godeps/Godeps.json ${_kubetmp}/Godeps/Godeps.json)"; then echo "Your Godeps.json is different:" echo "${_out}" exit 1