Replace ~ with - when creating a git tag

Signed-off-by: Jon Ringle <[email protected]>
---
 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} <[email protected]>" &&
-       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
[email protected]

Reply via email to