mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-30 17:49:58 +03:00
glusterfs: fix version info
A build script in glusterfs uses /bin/bash interpreter and fails to get the version from the VERSION file at build time: sh: build-aux/pkg-version: /bin/bash: bad interpreter: No such file or directory sh: build-aux/pkg-version: /bin/bash: bad interpreter: No such file or directory sh: build-aux/pkg-version: /bin/bash: bad interpreter: No such file or directory [...] The result is that `gluster --version` doesn't include a version number. Fixup the shebang to get the version info.
This commit is contained in:
parent
c1792db42d
commit
7e399b7078
@ -85,6 +85,7 @@ in stdenv.mkDerivation rec {
|
||||
# but fails when the version is empty.
|
||||
# See upstream GlusterFS bug https://bugzilla.redhat.com/show_bug.cgi?id=1452705
|
||||
preConfigure = ''
|
||||
patchShebangs build-aux/pkg-version
|
||||
echo "v${version}" > VERSION
|
||||
./autogen.sh
|
||||
export PYTHON=${python3}/bin/python
|
||||
|
Loading…
Reference in New Issue
Block a user