From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-gx0-f172.google.com ([209.85.161.172]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1RvyWv-0000d4-ND for ptxdist@pengutronix.de; Fri, 10 Feb 2012 23:01:23 +0100 Received: by ggnq2 with SMTP id q2so2022419ggn.31 for ; Fri, 10 Feb 2012 14:01:15 -0800 (PST) From: Jon Ringle Date: Fri, 10 Feb 2012 17:01:09 -0500 Message-Id: <1328911269-25311-1-git-send-email-jon@ringle.org> Subject: [ptxdist] [PATCH] git tag sanitizing Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Replace ~ with - when creating a git tag Signed-off-by: Jon Ringle --- 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} " && - 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