mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] git tag sanitizing
@ 2012-02-10 22:01 Jon Ringle
  0 siblings, 0 replies; only message in thread
From: Jon Ringle @ 2012-02-10 22:01 UTC (permalink / raw)
  To: ptxdist

Replace ~ with - when creating a git tag

Signed-off-by: Jon Ringle <jon@ringle.org>
---
 scripts/lib/ptxd_make_world_patchin.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/lib/ptxd_make_world_patchin.sh b/scripts/lib/ptxd_make_world_patchin.sh
index f1451d2..8dca947 100644
--- a/scripts/lib/ptxd_make_world_patchin.sh
+++ b/scripts/lib/ptxd_make_world_patchin.sh
@@ -82,7 +82,7 @@ ptxd_make_world_patchin_apply_git_init()
 	git init -q &&
 	git add -f . &&
 	git commit -q -m "initial commit" --author="ptxdist-${PTXDIST_VERSION_FULL} <ptxdist@pengutronix.de>" &&
-	git tag "${pkg_pkg}" &&
+	git tag "${pkg_pkg//\~/-}" &&
 	git tag base &&
 	git config alias.ptx-patches "!${PTXDIST_TOPDIR}/scripts/git-ptx-patches \"\${@}\"" &&
 	echo "patchin: git: done"

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-02-10 22:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-10 22:01 [ptxdist] [PATCH] git tag sanitizing Jon Ringle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox