Browse Source

install: use more compatible sh syntax

v1.x
Nathan Rajlich 11 years ago
parent
commit
609a551a94
  1. 4
      install

4
install

@ -20,7 +20,7 @@ require() {
fetch() {
local tarball=`basename $1`
echo "... downloading $tarball"
local dir=${tarball/.tar.gz/}
local dir=`basename $tarball .tar.gz`
curl -# -L $1 -o $tarball \
&& echo "... unpacking" \
&& tar -zxf $tarball \
@ -32,7 +32,7 @@ fetch() {
fetch_xz() {
local tarball=`basename $1`
echo "... downloading $tarball"
local dir=${tarball/.tar.xz/}
local dir=`basename $tarball .tar.xz`
curl -# -L $1 -o $tarball \
&& echo "... unpacking" \
&& tar -xJf $tarball \

Loading…
Cancel
Save