Permalink
Browse files

Merge pull request #23 from darrenderidder/master

Fixed &> on ubuntu [darrenderidder]
  • Loading branch information...
tj committed Jun 28, 2011
2 parents bcc764d + a84e2bf commit 49c5b0b7794375016a0cf44dbaa5882372f090b4
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 .. \

0 comments on commit 49c5b0b

Please sign in to comment.