diff options
-rw-r--r-- | GNUmakefile | 3 | ||||
-rw-r--r-- | 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 @@ -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 |