Removed diff between ruby-build <-> python-build a little

This commit is contained in:
Yamashita, Yuu 2016-03-03 00:37:22 +00:00
parent 7db657beb5
commit d75b1a12d7

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash
#
# Usage: python-build [-kvp] <definition> <prefix>
# Usage: python-build [-kpv] <definition> <prefix>
# python-build --definitions
# python-build --version
#
@ -390,6 +390,9 @@ fetch_tarball() {
fi
if [ "$package_url" != "${package_url%xz}" ]; then
if ! type -p xz >/dev/null; then
echo "warning: xz not found; consider installing \`xz\` package" >&4
fi
package_filename="${package_filename%.gz}.xz"
tar_args="${tar_args/z/J}"
fi