Missed an extraneous .gz

This commit is contained in:
Joe Ferguson 2014-08-25 17:47:13 -06:00
parent 5a117c8bef
commit 4e73501514

View File

@ -17,7 +17,7 @@ versions=( "${versions[@]%/}" )
packagesUrl='http://php.net/releases/index.php?serialize=1&version=5'
packages="$(echo "$packagesUrl" | sed -r 's/[^a-zA-Z.-]+/-/g')"
curl -sSL "${packagesUrl}.gz" > "$packages"
curl -sSL "${packagesUrl}" > "$packages"
for version in "${versions[@]}"; do
fullVersion="$(sed -r 's/.*"filename";s:[0-9]+:"php-([^"]+)\.tar\.bz2".*/\1/' $packages)"