Browse files

fixed variable name for startup file env var

  • Loading branch information...
1 parent aac65ed commit ff0b7387485fca06f302847a730327c4e8135b30 @aaronj1335 aaronj1335 committed Sep 13, 2011
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/node.js
View
8 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);
}

0 comments on commit ff0b738

Please sign in to comment.