From: Prarit Bhargava on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1579#note_829359728 | 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 \ ``` _______________________________________________ kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure