blob: 1ab921f3dc88aa7fa1dfa8f2a734760d9d52e2c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-aa,v 1.5 2010/12/04 04:33:52 taca Exp $
Don't extract revision dynamically using git command.
--- Rakefile.orig 2010-12-04 04:32:30.000000000 +0000
+++ Rakefile
@@ -11,7 +11,7 @@ end
RbConfig = Config unless defined?(RbConfig)
NAME = "hpricot"
-REV = (`#{ENV['GIT'] || "git"} rev-list HEAD`.split.length + 1).to_s
+REV = nil
VERS = ENV['VERSION'] || "0.8" + (REV ? ".#{REV}" : "")
PKG = "#{NAME}-#{VERS}"
BIN = "*.{bundle,jar,so,o,obj,pdb,lib,def,exp,class,rbc}"
|