aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Savoye <rob.savoye@linaro.org>2015-05-24 11:20:37 -0600
committerRob Savoye <rob.savoye@linaro.org>2015-05-24 11:20:37 -0600
commitb1a5fb51dab3c4b15dca94b7d63567934cb8e4ec (patch)
tree0bf8d06b6b116e3995e8f2c6ff19528a08012503
parent8ecaa85eaf8b1e2c5c8816dd544ab8724ac215b0 (diff)
change the @ character used to deliminate the SHA1 from the branch to _, so (e)glibc will build specific revisions.
Change-Id: Ie607f48cba56f74c31cdc345d684f6864dfd16ee
-rw-r--r--lib/common.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/common.sh b/lib/common.sh
index fead267d..25059307 100644
--- a/lib/common.sh
+++ b/lib/common.sh
@@ -271,7 +271,13 @@ normalize_path()
;;
esac
- echo ${node}${branch:+~${branch}}${revision:+@${revision}}
+ if test "`echo $1 | grep -c glibc`" -gt 0; then
+ local delim='_'
+ else
+ local delim='@'
+ fi
+
+ echo ${node}${branch:+~${branch}}${revision:+${delim}${revision}}
return 0
}