diff options
author | isaacs <i@izs.me> | 2010-07-25 23:36:05 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2010-07-25 23:36:05 +0400 |
commit | e86037de1fe2f5e34765719d4d9ac1afb921343b (patch) | |
tree | f41f449a9fbd3b77eb8e3406120352ecd9931d8f /scripts | |
parent | 0bd52f0b0bdcb96aacbb1ac2cd4cd1ef99c0eb4e (diff) |
Fix tar usage so that it works on BSD
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/install.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install.sh b/scripts/install.sh index f07517904..8430ea861 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -2,7 +2,7 @@ mkdir npm \ && cd npm \ - && curl -L http://github.com/isaacs/npm/tarball/master | tar xz --strip 1 \ + && curl -L http://github.com/isaacs/npm/tarball/master | tar xzf - --strip-components=1 \ && make \ && cd .. \ && rm -rf npm \ |