t7502: honor SHELL_PATH
[gitweb.git] / git-cvsimport.perl
index bdac5d51b6dfb721bb648e455cb8f3c5078217e4..5a0255052c9360fdc4cbbdd79008a206ab3e4623 100755 (executable)
@@ -780,6 +780,7 @@ sub commit {
                $xtag =~ s/\s+\*\*.*$//; # Remove stuff like ** INVALID ** and ** FUNKY **
                $xtag =~ tr/_/\./ if ( $opt_u );
                $xtag =~ s/[\/]/$opt_s/g;
+               $xtag =~ s/\[//g;
 
                system('git-tag', '-f', $xtag, $cid) == 0
                        or die "Cannot create tag $xtag: $!\n";