summaryrefslogtreecommitdiffstats
path: root/tags/c/copyright-has-crs.tag
diff options
context:
space:
mode:
Diffstat (limited to 'tags/c/copyright-has-crs.tag')
-rw-r--r--tags/c/copyright-has-crs.tag9
1 files changed, 9 insertions, 0 deletions
diff --git a/tags/c/copyright-has-crs.tag b/tags/c/copyright-has-crs.tag
new file mode 100644
index 0000000..ec8bf1e
--- /dev/null
+++ b/tags/c/copyright-has-crs.tag
@@ -0,0 +1,9 @@
+Tag: copyright-has-crs
+Severity: pedantic
+Check: debian/copyright
+Explanation: The copyright file has lines ending in CRLF instead of just LF.
+ .
+ Running the following command against the given file removes any
+ <code>CR</code> character in the file:
+ .
+ <code>sed -i 's/\r//g' path/to/file</code>