]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
Remove escaping regexp characters for checking of tag presence
authorKacper Kornet <draenog@pld-linux.org>
Fri, 29 Jun 2012 15:49:08 +0000 (16:49 +0100)
committerKacper Kornet <draenog@pld-linux.org>
Fri, 29 Jun 2012 15:49:08 +0000 (16:49 +0100)
That change was introcued in CVS version. And merged wrongly
auto-th-rpm-build-tools-4_5-1

builder.sh

index 371fbd807fd25944f082cc07eca48762b9e5af66..27147ed9441d31c1265e6278cb8788ac6b1dbdaa 100755 (executable)
@@ -2456,8 +2456,6 @@ case "$COMMAND" in
                # ./builder -bs test.spec -r AC-branch -Tp auto-ac- -tt
                if [ -n "$TEST_TAG" ]; then
                        local TAGVER=`make_tagver`
-                       # escape some regexp characters if part of TAGVER
-                       TAGVER=$(echo "$TAGVER" | sed -e 's#\([\+\*\.]\)#\\\1#g')
                        echo "Searching for tag $TAGVER..."
                        if [ -n "$DEPTH" ]; then
                                local ref=`git ls-remote $REMOTE_PLD "refs/tags/$TAGVER"`
This page took 0.041929 seconds and 4 git commands to generate.