From b5f92edec1a292f48f25dd698ed6e213c3b3f4f0 Mon Sep 17 00:00:00 2001 From: adammawson Date: Mon, 30 Apr 2012 18:24:38 +0100 Subject: [PATCH] just fixing somet paths in the checkpad script.. --- bin/checkPad.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/checkPad.js b/bin/checkPad.js index a72f0060a..e77224e2e 100644 --- a/bin/checkPad.js +++ b/bin/checkPad.js @@ -11,10 +11,10 @@ if(process.argv.length != 3) var padId = process.argv[2]; //initalize the database -var log4js = require("log4js"); +var log4js = require("../src/node_modules/log4js"); log4js.setGlobalLogLevel("INFO"); -var async = require("async"); -var db = require('../node/db/DB'); +var async = require("../src/node_modules/async"); +var db = require('../src/node/db/DB'); var Changeset = require("ep_etherpad-lite/static/js/Changeset"); var padManager; @@ -28,7 +28,7 @@ async.series([ //get the pad function (callback) { - padManager = require('../node/db/PadManager'); + padManager = require('../src/node/db/PadManager'); padManager.doesPadExists(padId, function(err, exists) {