Fix: Make version.h generation work with dash
authorOlivier Blin <olivier.blin@softathome.com>
Fri, 27 Oct 2017 09:46:19 +0000 (11:46 +0200)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sun, 12 Nov 2017 18:13:26 +0000 (13:13 -0500)
version.h generation failed when using dash as shell:
Generating version.h... /bin/sh: 24: Syntax error: Missing '))'

dash does not handle the following construct:
git_describe="$((cd /path/to/lttng-tools/.; git describe) 2>/dev/null)"

Use backquotes instead.

The fix has been tested with dash and bash.

Signed-off-by: Olivier Blin <olivier.blin@softathome.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>

No differences found
This page took 0.027771 seconds and 4 git commands to generate.