Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #23 from darrenderidder/master

Fixed &> on ubuntu [darrenderidder]
  • Loading branch information...
commit 49c5b0b7794375016a0cf44dbaa5882372f090b4 2 parents bcc764d + a84e2bf
@tj authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 bin/n
View
4 bin/n
@@ -149,7 +149,7 @@ install_node() {
cd $N_PREFIX/n \
&& $GET "http://nodejs.org/dist/$tarball" \
> $tarball \
- && tar -zxf $tarball &> $logpath
+ && tar -zxf $tarball > $logpath 2>&1
# see if things are alright
if test $? -gt 0; then
@@ -163,7 +163,7 @@ install_node() {
exit 1
fi
- cd "node-v$version" \
+ cd "$N_PREFIX/n/node-v$version" \
&& ./configure --prefix $VERSIONS_DIR/$version $config\
&& make install \
&& cd .. \
Please sign in to comment.
Something went wrong with that request. Please try again.