reduce scope
authorChristian Grothoff <christian@grothoff.org>
Sat, 5 Oct 2019 13:00:27 +0000 (15:00 +0200)
committerChristian Grothoff <christian@grothoff.org>
Sat, 5 Oct 2019 13:00:27 +0000 (15:00 +0200)
contrib/uncrustify_precommit

index 9384d3572fea39a94c3d13ce0036fb0a6bc11b06..fd29998c3ca781d25466e82241ad9ea741ff05d5 100755 (executable)
@@ -17,7 +17,7 @@ do
     # only change any of the invocations here if
     # they are portable across all cmp and shell
     # implementations !
-    uncrustify -q -c uncrustify.cfg -f $f | cmp - s $f -
+    uncrustify -q -c uncrustify.cfg -f $f | cmp -s $f -
     if test $? = 1 ;
     then
       crustified=" $crustified $f"