瀏覽代碼

makefile: syntaxerrors: detect )` (#749)

Detect weird character pairing found in https://github.com/Kickball/awesome-selfhosted/pull/748
nodiscc 9 年之前
父節點
當前提交
8bac9e3dd8
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Makefile

+ 1 - 1
Makefile

@@ -27,7 +27,7 @@ listlicenses:
 
 syntaxerrors:
 	@echo -e "\n Syntax errors:" 
-	@! sed -n -e '/BEGIN SOFTWARE LIST/,/END SOFTWARE LIST/ p' README.md | egrep  '\)\(|``'
+	@! sed -n -e '/BEGIN SOFTWARE LIST/,/END SOFTWARE LIST/ p' README.md | egrep  '\)\(|``|\)`'
 
 contrib:
 	@git shortlog -sne