Skip to content
This repository has been archived by the owner on Apr 26, 2020. It is now read-only.

Commit

Permalink
Merge pull request #31 from Kazylla/fix/rsync-option
Browse files Browse the repository at this point in the history
Fix insert space between rsync options
  • Loading branch information
gordalina committed Aug 22, 2015
2 parents a49c1f1 + d8968b3 commit 491d5b8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions recipes/rsync.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,11 @@
env('rsync_options', function () {
$config = get('rsync');
$options = $config['options'];
$optionsRsync = '';
$optionsRsync = [];
foreach ($options as $option) {
$optionsRsync .= "--$option";
$optionsRsync[] = "--$option";
}
return $optionsRsync;
return implode(' ', $optionsRsync);
});

task('rsync:warmup', function() {
Expand Down

0 comments on commit 491d5b8

Please sign in to comment.