autobuild 1.4.8 → 1.4.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Changes.txt +4 -0
- data/lib/autobuild.rb +1 -1
- data/lib/autobuild/package.rb +2 -3
- metadata +2 -2
data/Changes.txt
CHANGED
data/lib/autobuild.rb
CHANGED
data/lib/autobuild/package.rb
CHANGED
@@ -72,15 +72,14 @@ module Autobuild
|
|
72
72
|
# Absolute path to the installation directory. See #prefix=
|
73
73
|
def prefix; File.expand_path(@prefix || '', Autobuild.prefix) end
|
74
74
|
# Absolute path to the log directory for this package. See #logdir=
|
75
|
-
def logdir; File.expand_path(@logdir, prefix) end
|
76
|
-
|
75
|
+
def logdir; File.expand_path(@logdir || File.join('log', File.dirname(@srcdir || name)), prefix) end
|
77
76
|
|
78
77
|
# The file which marks when the last sucessful install
|
79
78
|
# has finished. The path is absolute
|
80
79
|
#
|
81
80
|
# A package is sucessfully built when it is installed
|
82
81
|
def installstamp
|
83
|
-
File.join(
|
82
|
+
File.join(logdir, "#{name}-#{STAMPFILE}")
|
84
83
|
end
|
85
84
|
|
86
85
|
def initialize(spec)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: autobuild
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sylvain Joyeux
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-01-
|
12
|
+
date: 2010-01-15 00:00:00 +01:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|