autobuild 1.4.8 → 1.4.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,7 @@
1
+ == Version 1.4.9
2
+ * quickfix an issue related to a discrepancy between the definition of the
3
+ installstamp and the definition of the log dir.
4
+
1
5
  == Version 1.4.8
2
6
  * make the archive importer nicer to use:
3
7
  - the archive_dir is unneeded for tarballs from now on
@@ -1,5 +1,5 @@
1
1
  module Autobuild
2
- VERSION = "1.4.8" unless defined? Autobuild::VERSION
2
+ VERSION = "1.4.9" unless defined? Autobuild::VERSION
3
3
  end
4
4
 
5
5
  require 'autobuild/config'
@@ -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(@logdir || Autobuild.logdir, "#{name}-#{STAMPFILE}")
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.8
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-14 00:00:00 +01:00
12
+ date: 2010-01-15 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency