author | Kieran Bingham <kieranbingham@gmail.com> | |
Tue, 17 Sep 2013 17:35:38 +0000 (18:35 +0100) | ||
committer | Kieran Bingham <kieran.bingham@st.com> | |
Tue, 17 Sep 2013 17:38:31 +0000 (18:38 +0100) | ||
commit | 1415c4ed9149c134813368caf728a79fd6e69800 | |
tree | 5c06ddb807fe86d6b32fd0f6794fde92a2861024 | tree | snapshot |
parent | f6b9d3b2d95a140eaf9537cae08069b6856684b2 | commit | diff |
version-gen.sh: Ensure only collectd repository versions are used
When cross compiling in hosted environments using RPM,
the extracted tar-ball can be located in a parent .git repository.
The version-gen.sh script will then take the version number from
this repository as if it represents collectd.
This can be even more erroneous when the version returned is non
numerical and breaks the build
Signed-off-by: Kieran Bingham <kieran.bingham@st.com>
When cross compiling in hosted environments using RPM,
the extracted tar-ball can be located in a parent .git repository.
The version-gen.sh script will then take the version number from
this repository as if it represents collectd.
This can be even more erroneous when the version returned is non
numerical and breaks the build
Signed-off-by: Kieran Bingham <kieran.bingham@st.com>
version-gen.sh | diff | blob | history |