Bug 1762311

Summary: build-aux/pkg-version has bashishms
Product: [Community] GlusterFS Reporter: Patrick Matthäi <pmatthaei>
Component: buildAssignee: bugs <bugs>
Status: CLOSED UPSTREAM QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7CC: bugs, pasik
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-12 12:16:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Patrick Matthäi 2019-10-16 13:48:32 UTC
build-aux/pkg-version should use /bin/bash instead of /bin/sh in his shebang or the bashishm should be fixed:

possible bashism in build-aux/pkg-version line 26 (should be 'b = a'):
    if [ "x${version}" == "x" ] ; then
possible bashism in build-aux/pkg-version line 49 (should be 'b = a'):
    if [ "x${release}" == "x" ] ; then

Comment 1 Worker Ant 2020-03-12 12:16:16 UTC
This bug is moved to https://github.com/gluster/glusterfs/issues/857, and will be tracked there from now on. Visit GitHub issues URL for further details