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
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