[Telepathy-commits] [telepathy-spec/master] upload-branch: translate silly characters in branch name into _

Simon McVittie simon.mcvittie at collabora.co.uk
Wed Dec 3 04:50:03 PST 2008


---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index 1b0a7c3..b5283ed 100644
--- a/Makefile
+++ b/Makefile
@@ -138,7 +138,7 @@ dist:
 	$(TAR) -ztvf "$$distname".tar.gz;\
 	rm -rf tmp/"$$distname"
 
-BRANCH = $(shell sh tools/git-which-branch.sh misc)
+BRANCH = $(shell sh tools/git-which-branch.sh misc | tr -d '\n' | tr -C "[:alnum:]" _)
 UPLOAD_BRANCH_TO = people.freedesktop.org:public_html/telepathy-spec
 
 # Usage: make upload-branch BRANCH=discussion
-- 
1.5.6.5



More information about the Telepathy-commits mailing list