From eda38f4dd428a71af9b32a1f14a87616ea774ad9 Mon Sep 17 00:00:00 2001 From: Jeremy Ashkenas Date: Mon, 25 Feb 2013 17:39:31 +1300 Subject: [PATCH] fixing paths --- journo.js | 2 +- journo.litcoffee | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/journo.js b/journo.js index bb538cc..5d21a28 100644 --- a/journo.js +++ b/journo.js @@ -79,7 +79,7 @@ Journo.publish = function() { Journo.build(); - return rsync('site/public/', path.join(shared.config.publish, 'public'), function() { + return rsync('site/images/', path.join(shared.config.publish, 'images/'), function() { return rsync('site/', shared.config.publish); }); }; diff --git a/journo.litcoffee b/journo.litcoffee index 5099ed4..59847d9 100644 --- a/journo.litcoffee +++ b/journo.litcoffee @@ -113,7 +113,7 @@ the site and **rysnc** it up to the server. Journo.publish = -> do Journo.build - rsync 'site/public/', path.join(shared.config.publish, 'public'), -> + rsync 'site/images/', path.join(shared.config.publish, 'images/'), -> rsync 'site/', shared.config.publish A helper function for **rsync**ing, with logging, and the ability to wait for