diff options
author | isaacs <i@izs.me> | 2011-05-01 22:55:23 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2011-05-01 22:55:23 +0400 |
commit | f2bf53bdc2b55b9f34f7ab8288f8ad6526a369b3 (patch) | |
tree | f4665e60339c99d3ac04a30f7970ea666d95afe2 /scripts/install.sh | |
parent | 87e664a47ac94424828e30d0da42b5e97d1bd84d (diff) |
Support for Linux.
Diffstat (limited to 'scripts/install.sh')
-rwxr-xr-x | scripts/install.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/install.sh b/scripts/install.sh index ebf070eb5..53a0e2df3 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -2,7 +2,10 @@ if [ "x$0" = "xsh" ]; then # run as curl | sh - cat > npm-install-$$.sh + # on some systems, you can just do cat>npm-install.sh + # which is a bit cuter. But on others, &1 is already closed, + # so catting to another script file won't do anything. + curl -s http://npmjs.org/install.sh > npm-install-$$.sh sh npm-install-$$.sh ret=$? rm npm-install-$$.sh |