Permalink
Browse files

run git-sh through bash -n to surface syntax errors

  • Loading branch information...
1 parent 5bba7d4 commit af8f57b5930f013e8b9bf3833f9a78a9ff80f868 @rtomayko committed Mar 30, 2010
Showing with 4 additions and 1 deletion.
  1. +4 −1 Makefile
View
@@ -15,7 +15,10 @@ RONN = ronn --date=2010-03-30 \
all: $(PROGRAM)
$(PROGRAM): $(SOURCES)
- cat $(SOURCES) > $@
+ rm -f $@
+ cat $(SOURCES) > $@+
+ bash -n $@+
+ mv $@+ $@
chmod 0755 $@
git-sh.1.roff: git-sh.1.ronn

0 comments on commit af8f57b

Please sign in to comment.