Skip to content

Commit

Permalink
workaround failing xz detection on OSX
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinNowak committed May 15, 2016
1 parent f6dde9b commit 4e5c322
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion script/install.sh
Expand Up @@ -429,7 +429,8 @@ download_and_unpack() {

check_tools curl
if [[ $name =~ \.tar\.xz$ ]]; then
check_tools tar xz
# TODO: need to figure out how to detect xz support on osx
[ $os = osx ] && check_tools tar || check_tools tar xz
else
check_tools unzip
fi
Expand Down

0 comments on commit 4e5c322

Please sign in to comment.