ava1ar / customizepkg

A tool for Arch Linux package manager pacman to modify PKGBUILD automatically
GNU General Public License v3.0
49 stars 14 forks source link

Remove null byte to silence the error message #39

Closed JustCryen closed 9 months ago

JustCryen commented 9 months ago

Currently every package (passed through paru) generates an error message:

/usr/bin/customizepkg: line 168: warning: command substitution: ignored null byte in input

This results in quite a noisy output while installing or updating packages. Turns out the grep command, at least used like this, generates a null byte every single time.

This pull request makes a simple change to remove said null byte from its output so eval won't complain about it anymore.