commit | 3c55efb7dd0603023cc33bfce914073945140898 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sat Jun 22 08:24:16 2019 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Sat Jun 22 08:28:32 2019 +0200 |
tree | f3d873fb265bc87030224777d3db2830a9cb7340 | |
parent | e8d0719924cd842a608c9a612bab7f5718777a3d [diff] |
BUILD: makefile: do not rely on shell substitutions to determine git version Solaris's default shell doesn't support substitutions at the beginning or end of variables, which are still used to determine the version based on git. Since we added --abbrev=0 we don't need the last one. And using cut it's trivial to replace the first one, actually simplifying the whole expression. This may be backported to all stable branches.