diff --git a/lib/main.js b/lib/main.js index 872ce9f1..e45a6bd4 100644 --- a/lib/main.js +++ b/lib/main.js @@ -154,7 +154,7 @@ Lambda.prototype._rsync = function (program, src, dest, callback) { // we need the extra / after src to make sure we are copying the content // of the directory, not the directory itself. - exec('rsync -r ' + excludeArgs + ' ' + src.trim() + '/ ' + dest, function (err) { + exec('rsync -rL ' + excludeArgs + ' ' + src.trim() + '/ ' + dest, function (err) { if (err) { return callback(err); }