diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2011-11-14 17:12:55 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2011-11-14 17:12:55 (GMT) |
commit | bdae0332beb24f263ccaa334f31aefff03b1455d (patch) | |
tree | 76197e1f50df6c7fe8c59e3d47ae6d0402483181 /configure | |
parent | 66cf16ec46cfebfb67e1a0084fc36b658a62c936 (diff) |
configure: fix version string breakage
As we use the directory names as Makefile targets, they can not contain any
column ':', or else make will complain about 'multiple target patterns'.
Replace the offending ':' with a dash '-', as Titus suggested.
Reported-by: Erdem Budak <erdembudak@hotmail.com>
Reported-by: Titus von Boxberg <titus@v9g.de>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -550,11 +550,11 @@ if [ -n "${V}" ]; then else case "${VERSION}" in *+hg|hg) - rev_id="$( hg log -r . --template '{branch}:{node|short}\n' \ + rev_id="$( hg log -r . --template '{branch}-{node|short}\n' \ 2>/dev/null \ || true \ )" - VERSION="${VERSION}@${rev_id:-unknown:$( date +%Y%m%d.%H%M%S )}" + VERSION="${VERSION}@${rev_id:-unknown-$( date +%Y%m%d.%H%M%S )}" ;; esac fi |