Skip to content

Commit

Permalink
Merge pull request #5 from JoyceBabu/patch-2
Browse files Browse the repository at this point in the history
Fixes RexOps#51
  • Loading branch information
EqUaTe authored Jun 22, 2017
2 parents 01fe986 + 0a168b1 commit ca5e7d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Rex/Repositorio/Repository/Apt.pm
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ sub _run_ftp_archive {

# export pub key as asc file
my $pub_file = $self->repo->{name} . ".asc";
$cmd = "cd $repo_dir ; gpg -a --output $pub_file --export $key";
$cmd = "cd $repo_dir ; gpg -a --export $key > $pub_file";
system $cmd;

if ( $? != 0 ) {
Expand Down

0 comments on commit ca5e7d3

Please sign in to comment.