mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-24 15:06:42 +00:00
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>
This commit is contained in:
parent
66cf16ec46
commit
bdae0332be
4
configure
vendored
4
configure
vendored
@ -550,11 +550,11 @@ if [ -n "${V}" ]; then
|
|||||||
else
|
else
|
||||||
case "${VERSION}" in
|
case "${VERSION}" in
|
||||||
*+hg|hg)
|
*+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 \
|
2>/dev/null \
|
||||||
|| true \
|
|| 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
|
esac
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user