autobuild 1.10.0.rc15 → 1.10.0.rc16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/autobuild/package.rb +5 -0
- data/lib/autobuild/packages/cmake.rb +5 -3
- data/lib/autobuild/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ffa7ae037ecb9bae8e7986f81af4be91ef2d2970
|
4
|
+
data.tar.gz: d2c113a6a98a0c93852280080f6caafc7c84b11a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 922acbd61bea388fc2e7550ce1c3e48f6705ac033dcae05a92d7f849eb6f2ae2501a71d9ec8f573457533fd0d5e1157766830bfbc123c92e8a87d1a0adb3dcbb
|
7
|
+
data.tar.gz: 6309445d752802fea1f881accb54082490fe552f48c2b68b07e70bac1245b7a0fc83486c93225ce9c7e3125b3f2c642c5402bb383ca95a13b0c91488f0ff5cc7
|
data/lib/autobuild/package.rb
CHANGED
@@ -513,12 +513,14 @@ module Autobuild
|
|
513
513
|
# Delete files in {#prefix} that are not present in CMake's install
|
514
514
|
# manifest
|
515
515
|
#
|
516
|
-
# This is enabled globally by {CMake.
|
517
|
-
# per-package with {#
|
516
|
+
# This is enabled globally by {CMake.delete_obsolete_files_in_prefix=} or
|
517
|
+
# per-package with {#delete_obsolete_files_in_prefix=}. Do NOT enable if packages
|
518
518
|
# share the same prefix.
|
519
519
|
def delete_obsolete_files
|
520
|
+
# The expand_path is required to sanitize the paths, which can
|
521
|
+
# contain e.g. double //
|
520
522
|
manifest_contents = File.readlines(File.join(builddir, 'install_manifest.txt')).
|
521
|
-
map(
|
523
|
+
map { |p| File.expand_path(p.chomp) }.to_set
|
522
524
|
logdir = self.logdir
|
523
525
|
Find.find(prefix) do |path|
|
524
526
|
Find.prune if path == logdir
|
data/lib/autobuild/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: autobuild
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.10.0.
|
4
|
+
version: 1.10.0.rc16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sylvain Joyeux
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-09-
|
11
|
+
date: 2016-09-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|