From e86037de1fe2f5e34765719d4d9ac1afb921343b Mon Sep 17 00:00:00 2001 From: isaacs Date: Sun, 25 Jul 2010 12:36:05 -0700 Subject: Fix tar usage so that it works on BSD --- scripts/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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 \ -- cgit v1.2.3