From: Prarit Bhargava on
gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1579#note_8293...
| 397 + @if [ $$(echo "$(PKGRELEASE)" | wc -c) -gt 35 ]; then \
AFAIK the quotation marks in this `echo` are being counted by the `wc
-c`,
aren't they? Making a 34 char long PKGRELEASE fail.
The quotes are not counted:
```
[prarit@prarit kernel-ark]$ cat /tmp/doit2
fivelong="12345"
echo "$(fivelong)" | wc -l
[prarit@prarit kernel-ark]$ /tmp/doit2
6
```
but the newline is. In any case, the quotes aren't absolutely required.
I have adjusted the code to be
```
@if [ $$(echo -n $(PKGRELEASE) | wc -c) -gt 35 ]; then \
```