summary refs log tree commit diff
diff options
context:
space:
mode:
authorclassabbyamp <dev@placeviolette.net>2022-05-17 01:40:17 -0400
committerLeah Neukirchen <leah@vuxu.org>2022-05-17 22:14:36 +0200
commit132fe239d2772ce82fb3e353357fd129865e1473 (patch)
treeb70c4025d8db773a68b42788eff82f12b3f39777
parent8c0e21060fd0abdb16c10d62a56ead0a4da75062 (diff)
downloadxtools-132fe239d2772ce82fb3e353357fd129865e1473.tar.gz
xtools-132fe239d2772ce82fb3e353357fd129865e1473.tar.xz
xtools-132fe239d2772ce82fb3e353357fd129865e1473.zip
xlint: remove print in explain_make_check
before (prints line before make_check):
```
$ xlint R
shlib_provides="libR.so"
/home/abi/void-packages/srcpkgs/R/template:28: explain why the tests fail
```

after:
```
$ xlint R
/home/abi/void-packages/srcpkgs/R/template:28: explain why the tests fail
```

Closes: #245 [via git-merge-pr]
-rwxr-xr-xxlint2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlint b/xlint
index 34c46d7..9148fa5 100755
--- a/xlint
+++ b/xlint
@@ -42,7 +42,7 @@ exists_once() {
 
 explain_make_check() {
 	awk "-vtemplate=$template" -vOFS=: '
-		/make_check=[^#]*$/ && prev !~ /^[[:blank:]]*#/ {print(template, FNR, " explain why the tests fail"); print prev}
+		/make_check=[^#]*$/ && prev !~ /^[[:blank:]]*#/ {print(template, FNR, " explain why the tests fail")}
 		{prev=$0}
 	' $template
 }