~rogpeppe/juju-core/387-use-testing-set

« back to all changes in this revision

Viewing changes to .lbox.check

  • Committer: Danilo Šegan
  • Date: 2013-06-14 12:42:40 UTC
  • mto: This revision was merged to the branch mainline in revision 1282.
  • Revision ID: danilo.segan@canonical.com-20130614124240-rnp50f9odmifieii
Move emacs auto-save files check to find command itself.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
set -e
4
4
 
5
 
BADFMT=`find * -name '*.go' | grep -v '/\.#' | xargs gofmt -l`
 
5
BADFMT=`find * -name '*.go' -not -name '.#*' | xargs gofmt -l`
6
6
if [ -n "$BADFMT" ]; then
7
7
        BADFMT=`echo "$BADFMT" | sed "s/^/  /"`
8
8
        echo -e "gofmt is sad:\n\n$BADFMT"