From 73a962e6ca2b8e0a0457e0433f233520b27ed01d Mon Sep 17 00:00:00 2001 From: John McLear Date: Mon, 30 Apr 2012 19:23:41 +0200 Subject: [PATCH] Correct dependency paths for checkPad script. --- bin/checkPad.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bin/checkPad.js b/bin/checkPad.js index a72f0060..a46c1814 100644 --- a/bin/checkPad.js +++ b/bin/checkPad.js @@ -4,17 +4,17 @@ if(process.argv.length != 3) { - console.error("Use: node checkPad.js $PADID"); + console.error("Use: node bin/checkPad.js $PADID"); process.exit(1); } //get the padID 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) {