From ded6f9af47a7ee53454b2c75a873b684387c813b Mon Sep 17 00:00:00 2001 From: Dan Rench Date: Fri, 31 Dec 2010 15:35:00 -0600 Subject: [PATCH] Explicit "-f -" for compatibility with BSD tar --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index b64ec62d2b..646d56b504 100755 --- a/install.sh +++ b/install.sh @@ -4,7 +4,7 @@ install() { && cd /tmp/$2 \ && echo "... installing $2" \ && curl -# -L "http://github.com/$1/$2/tarball/master" \ - | tar xz --strip 1 \ + | tar xzf - --strip 1 \ && mkdir -p ~/.node_libraries \ && cp -fr lib/$2 ~/.node_libraries/$2 } @@ -12,4 +12,4 @@ install() { install visionmedia express \ && install senchalabs connect \ && cp -f /tmp/express/bin/express /usr/local/bin/express \ - && echo "... installation complete" \ No newline at end of file + && echo "... installation complete"