From cb14a4c53068edabe56c92b0db0addc4d0fc0c6d Mon Sep 17 00:00:00 2001 From: rustico Date: Sun, 10 Jul 2016 02:24:43 +0200 Subject: [PATCH] Copy the symlink content --- lib/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }