From bdae0332beb24f263ccaa334f31aefff03b1455d Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Mon, 14 Nov 2011 18:12:55 +0100 Subject: 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 Reported-by: Titus von Boxberg Signed-off-by: "Yann E. MORIN" diff --git a/configure b/configure index a23f994..4d2249b 100755 --- a/configure +++ b/configure @@ -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 -- cgit v0.10.2-6-g49f6