]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
actually give special treatment only
authorHolger Levsen <holger@layer-acht.org>
Fri, 1 Jun 2012 13:17:25 +0000 (15:17 +0200)
committerHolger Levsen <holger@layer-acht.org>
Fri, 1 Jun 2012 13:17:25 +0000 (15:17 +0200)
puppet_lint_run.sh

index 163e743b4f68b579b7a203980d2fb0ac8eaa63d3..c135c9db7d5f4136ec0811395798300640c9b9cd 100755 (executable)
@@ -31,9 +31,10 @@ for file in $(find . -iname '*.pp') ; do
                                # all is good
                                grep -v "WARNING:quoted boolean value found" $OUTPUT
                        fi
+               # normally we do:
+               else
+                       cat $OUTPUT
                fi
-               cat $OUTPUT
-               rm $OUTPUT
        fi
 done
 rm -f $OUTPUT