diff options
Diffstat (limited to 'dgit')
-rwxr-xr-x | dgit | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -998,11 +998,11 @@ END runcmd_ordryrun @sign_cmd; if (!$dryrun) { $tagobjfn = $tfn->('.signed.tmp'); - runcmd shell_cmd "> $tagobjfn", qw(cat --), + runcmd shell_cmd "exec >$tagobjfn", qw(cat --), $tfn->('.tmp'), $tfn->('.tmp.asc'); } } - my $tag_obj_hash = runcmd @git, qw(hash-object -w -t tag), $tagobjfn; + my $tag_obj_hash = cmdoutput @git, qw(hash-object -w -t tag), $tagobjfn; runcmd_ordryrun @git, qw(verify-tag), $tag_obj_hash; runcmd_ordryrun @git, qw(update-ref), "refs/tags/$tag", $tag_obj_hash; runcmd_ordryrun @git, qw(tag -v --), $tag; |