From f1e3d4a3828c377ef19f1f3d754457221c200bc4 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 18 Sep 2009 14:51:22 -0700 Subject: build: hardcode the canonical git URL I just distributed a tarball with my local FS path in the documentation :( --- GNUmakefile | 3 +-- Rakefile | 4 +--- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index 2359721..f4e0fca 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -3,8 +3,7 @@ all:: test ruby = ruby rake = rake ragel = ragel -GIT_URL = $(shell git config --get remote.origin.url 2>/dev/null || \ - echo git://git.bogomips.org/unicorn.git) +GIT_URL = git://git.bogomips.org/unicorn.git RLFLAGS = -G2 GIT-VERSION-FILE: .FORCE-GIT-VERSION-FILE diff --git a/Rakefile b/Rakefile index 6585e9f..a5a9771 100644 --- a/Rakefile +++ b/Rakefile @@ -93,9 +93,7 @@ desc "print release notes for Rubyforge" task :release_notes do require 'rubygems' - git_url = ENV['GIT_URL'] || - `git config --get remote.origin.url 2>/dev/null`.chomp! || - 'git://git.bogomips.org/unicorn.git' + git_url = ENV['GIT_URL'] || 'git://git.bogomips.org/unicorn.git' spec = Gem::Specification.load('unicorn.gemspec') puts spec.description.strip -- cgit v1.2.3-24-ge0c7