summary refs log tree commit diff
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2015-06-30 13:41:20 +0200
committerChristian Neukirchen <chneukirchen@gmail.com>2015-06-30 13:41:20 +0200
commit027fe8a8bd0eba26d1600905c34952163ab10723 (patch)
tree7559e8dfb704bde608e4524ce69b9995f6cd0047
parentd9c6bcf15cbb83488d355640e5e2b501d6044330 (diff)
parent25b332de77d2d15c323111961d8363260dec070d (diff)
downloadxtools-027fe8a8bd0eba26d1600905c34952163ab10723.tar.gz
xtools-027fe8a8bd0eba26d1600905c34952163ab10723.tar.xz
xtools-027fe8a8bd0eba26d1600905c34952163ab10723.zip
Merge pull request #18 from pullmoll/backticks
xlint: don't complain for escaped backticks
-rwxr-xr-xxlint2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlint b/xlint
index 339a558..fb691ff 100755
--- a/xlint
+++ b/xlint
@@ -140,7 +140,7 @@ for template; do
 	scan 'vinstall.* usr/share/licenses' "use vlicense"
 	scan '^  ' "indent with tabs" | once
 	scan '[\t ]$' "trailing whitespace"
-	scan '`' "use \$() instead of backticks"
+	scan '[^\\]`' "use \$() instead of backticks"
 	scan 'revision=0' "revision must not be zero"
 	scan 'replaces=(?=.*\w)[^<>]*$' "replaces needs depname with version"
 	scan 'conflicts=(?=.*\w)[^<>]*$' "conflicts needs depname with version"