Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Restore correctly NODE_PATH on deactive #20

Merged
merged 1 commit into from over 1 year ago

2 participants

Vincent Bernat Eugene Kalinin
Vincent Bernat

On deactivate NODE_PATH was set to NODE_PATH instead of the previous value.

Eugene Kalinin ekalinin merged commit 79edfcf into from September 25, 2012
Eugene Kalinin ekalinin closed this September 25, 2012
Eugene Kalinin
Owner

Thanks for patch.
Applied.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Sep 02, 2012
Vincent Bernat Restore correctly NODE_PATH on deactive 9d17a23
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  nodeenv.py
2  nodeenv.py
@@ -549,7 +549,7 @@ def main():
549 549
 PATH="$NODE_VIRTUAL_ENV/__BIN_NAME__:$PATH"
550 550
 export PATH
551 551
 
552  
-_OLD_NODE_PATH="NODE_PATH"
  552
+_OLD_NODE_PATH="$NODE_PATH"
553 553
 NODE_PATH="$NODE_VIRTUAL_ENV/__MOD_NAME__"
554 554
 export NODE_PATH
555 555
 
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.