From ff0b7387485fca06f302847a730327c4e8135b30 Mon Sep 17 00:00:00 2001 From: Aaron Stacy Date: Tue, 13 Sep 2011 07:15:51 -0500 Subject: [PATCH] fixed variable name for startup file env var --- src/node.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/node.js b/src/node.js index 6a88ae01974..af8ac8cd2e6 100644 --- a/src/node.js +++ b/src/node.js @@ -111,15 +111,15 @@ // REPL var ctx = Module.requireRepl().start().context; - var startup = process.env.NODE_STARTUP; - if (startup) { + var stup = process.env.NODE_STARTUP; + if (stup) { var path = NativeModule.require('path'); var fs = NativeModule.require('fs'); var vm = NativeModule.require('vm'); - path.exists(startup, function(exists) { + path.exists(stup, function(exists) { if (exists) { - fs.readFile(startup, function(err, data) { + fs.readFile(stup, function(err, data) { if (! err) { vm.runInContext(data.toString('utf8'), ctx); }