Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-tools.git;a=commitdiff;h=54d483bcfb893ae3b9035a26ba6a4800b31e8bcb
commit 54d483bcfb893ae3b9035a26ba6a4800b31e8bcb Author: Miklos Vajna <vmik...@frugalware.org> Date: Mon Jun 14 00:23:21 2010 +0200 fblint: add missing quotes (needed when you have a one-char file in the dir of the FB) diff --git a/fblint b/fblint index f5eb4d9..7543bee 100755 --- a/fblint +++ b/fblint @@ -190,7 +190,7 @@ if [ "`get_root`" = "stable" -o "`get_root`" = "$codename" ]; then check "unchanged pkgrel" "echo $pkgrel | grep -q '$codename'" fi check "trailing whitespace" "! grep -q ' $' $_fblint_fb" -check "existence of trailing newline" "! cat $_fblint_fb |perl -le '@a=<>; exit \$a[\$#a] =~ /\\n$/s ? 1 : 0'" +check "existence of trailing newline" "! cat $_fblint_fb |perl -le '@a=<>; exit \$a[\$#a] =~ /\\n\$/s '?' 1 : 0'" [ "$_fblint_verbose" ] && echo "done: $_fblint_done, failed $_fblint_failed" if [ $_fblint_failed -gt 0 ]; then _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git