[Bug 51877] improve POSIX compatibility for wine-staging's patches/gitapply.sh

WineHQ Bugzilla wine-bugs at winehq.org
Thu Oct 14 15:06:16 CDT 2021


https://bugs.winehq.org/show_bug.cgi?id=51877

--- Comment #4 from Damjan Jovanovic <damjan.jov at gmail.com> ---
(In reply to Zebediah Figura from comment #3)
> (In reply to Damjan Jovanovic from comment #2)
> > (In reply to Zebediah Figura from comment #1)
> > > That /usr/local/bin/gzip looks awkward; shouldn't it be the user's
> > > responsibility to make sure "gzip" is in $PATH?
> > 
> > Maybe. On FreeBSD the GNU gzip goes into /usr/local/bin, its own one into
> > /usr/bin.
> 
> Oh, okay, I'm used to /usr/local/bin being the designated install directory
> for user-compiled software.
> 
> Out of curiosity, what prevents us from using BSD gzip?

For some reason, patches/gitapply.sh explicitly checks for BSD gzip and fails
if found:

# Detect BSD - we check this first to error out as early as possible
if gzip -V 2>&1 | grep -q "BSD"; then
        echo "This script is not compatible with *BSD utilities. Please install
git," >&2
        echo "which provides the same functionality and will be used instead."
>&2
        exit 1
fi

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list