aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorBaptiste Fontaine2015-01-29 21:26:36 +0100
committerMike McQuaid2015-01-30 10:28:10 +0000
commit164d210b059e6eda2c9756c1f0c9cce3dd123ccf (patch)
treec52e50ebe2c10d6415b66861abb5f93d5c782493 /Library/Formula
parent0b16961bd31be7271abb540f580263ee85b796b1 (diff)
downloadhomebrew-164d210b059e6eda2c9756c1f0c9cce3dd123ccf.tar.bz2
xulrunner: source url fixed
Closes #36359. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/xulrunner.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/Library/Formula/xulrunner.rb b/Library/Formula/xulrunner.rb
index bd3e313e8..bee3fccba 100644
--- a/Library/Formula/xulrunner.rb
+++ b/Library/Formula/xulrunner.rb
@@ -1,5 +1,3 @@
-require "formula"
-
# speed up head clone, see: https://developer.mozilla.org/en-US/docs/Developer_Guide/Source_Code/Mercurial/Bundles
class HgBundleDownloadStrategy < CurlDownloadStrategy
def stage
@@ -25,7 +23,8 @@ class Xulrunner < Formula
homepage "https://developer.mozilla.org/docs/XULRunner"
stable do
- url "https://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/latest/source/xulrunner-33.0.source.tar.bz2"
+ # Always use direct URLs (releases/<version>/) instead of releases/latest/
+ url "https://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/33.0/source/xulrunner-33.0.source.tar.bz2"
sha1 "0fbd6ac263d9c5811a5338252b28e3d08ddfbeb2"
# https://github.com/Homebrew/homebrew/issues/33558