Permalink
Browse files

PREFIX -> N_PREFIX

  • Loading branch information...
1 parent 0fa2038 commit 38187f856c82d08593339b61228e810f1168d2f7 @tj committed Jan 5, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 bin/n
View
6 bin/n
@@ -3,8 +3,8 @@
# Library version
VERSION="0.0.1"
-PREFIX=${N_PREFIX-/usr/local}
-VERSIONS_DIR=$PREFIX/n/versions
+N_PREFIX=${N_PREFIX-/usr/local}
+VERSIONS_DIR=$N_PREFIX/n/versions
# setup
@@ -125,7 +125,7 @@ install_node() {
# install
else
local dir="node-v$version"
- cd $PREFIX/n \
+ cd $N_PREFIX/n \
&& $GET "http://nodejs.org/dist/node-v$version.tar.gz" \
> "$dir.tar.gz" \
&& tar -zxf "$dir.tar.gz" \

0 comments on commit 38187f8

Please sign in to comment.