Hi Jacob, On Tue, May 27, 2025 at 8:55 AM Jacob Lifshay <programmerj...@gmail.com> wrote: > On Mon, May 26, 2025 at 6:34 PM Ramiro Polla <ramiro.po...@gmail.com> wrote: > > -[ -x "$(command -v gzip)" ] && enable gzip > > +gzip -V > /dev/null 2>&1 && enable gzip > > idk if you intend it to build with busybox gzip, but busybox gzip > doesn't support the -V option, a better command could be something like: > gzip < /dev/null > /dev/null 2>&1 && enable gzip > since that does work with busybox too.
Thanks. I hadn't thought about gzip implementations that don't support -V. What about the following? echo | gzip -c > /dev/null 2>&1 && enable gzip Ramiro _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".