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 19:26:32 +0000 (14:26 -0500)
commitcaee9faac16a11c9415d8fab99cef17da18e9cc7
tree00039ab6ff54d1b357253af55ab552a4f1024d3d
parent15614f324cf06e2b1e86fd70ba808f0df872c00c
Fix: Make version.h generation work with dash

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>
include/Makefile.am
This page took 0.025009 seconds and 4 git commands to generate.