From dae5e9c2b04b0a7f95b4a291130b9518839b91f0 Mon Sep 17 00:00:00 2001 From: Jon Ringle Date: Fri, 10 Feb 2012 17:01:09 -0500 Subject: git tag sanitizing Replace ~ with - when creating a git tag Signed-off-by: Jon Ringle Signed-off-by: Michael Olbrich --- scripts/lib/ptxd_make_world_patchin.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lib/ptxd_make_world_patchin.sh b/scripts/lib/ptxd_make_world_patchin.sh index f1451d2d5..8dca947b8 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} " && - 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" -- cgit v1.2.3