Skip to content

Commit

Permalink
Fix rsync operations for source directories containing a relative pat…
Browse files Browse the repository at this point in the history
…h with a wildcard
  • Loading branch information
sdondley committed Jun 23, 2020
1 parent 7773c58 commit 168113e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Rex/Commands/Rsync.pm
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ sub sync {
if ( !exists $opt->{download} && $source !~ m/^\// ) {

# relative path, calculate from module root
$source = Rex::Helper::Path::get_file_path( $source, caller() );
$source = Rex::Helper::Path::get_file_path( $source );
}

Rex::Logger::debug("Syncing $source -> $dest with rsync.");
Expand Down

0 comments on commit 168113e

Please sign in to comment.