From 8aeb82154dfe24cea2d03e0c6a6e77248a697457 Mon Sep 17 00:00:00 2001 From: jo Date: Tue, 2 Sep 2014 08:21:11 +0200 Subject: [PATCH] + The url scheme of the emacs mirror changed and so did the name of the downloaded tgz. Fixed that. --- build-emacs-for-osx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build-emacs-for-osx b/build-emacs-for-osx index 35ce07d..fad50fe 100755 --- a/build-emacs-for-osx +++ b/build-emacs-for-osx @@ -9,7 +9,7 @@ require 'optparse' # DOWNLOAD_URL = "https://github.com/mirrors/emacs/tarball/%s" -LATEST_URL = "https://api.github.com/repos/mirrors/emacs/commits?sha=%s" +LATEST_URL = "https://api.github.com/repos/emacs-mirror/emacs/commits?sha=%s" ROOT_DIR = File.expand_path('..', __FILE__) TARBALL_DIR = "#{ROOT_DIR}/tarballs" @@ -107,7 +107,7 @@ def download_tarball(sha) url = (DOWNLOAD_URL % sha) - filename = "mirrors-emacs-#{sha[0..6]}.tgz" + filename = "emacs-mirror-emacs-#{sha[0..6]}.tgz" target = File.join(TARBALL_DIR, filename) if !File.exist?(target)