[DRE-commits] [gem2deb] 03/03: TestRunner: use full path for lib dirs in debian/$pkg

Antonio Terceiro terceiro at moszumanska.debian.org
Thu Apr 9 14:16:25 UTC 2015


This is an automated email from the git hooks/post-receive script.

terceiro pushed a commit to branch master
in repository gem2deb.

commit b305135d8c0e11cab1e672685f2f276275e81dde
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Thu Apr 9 16:15:22 2015 +0200

    TestRunner: use full path for lib dirs in debian/$pkg
---
 debian/changelog           | 7 +++++++
 lib/gem2deb/test_runner.rb | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 49dffff..0968903 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+gem2deb (0.14) UNRELEASED; urgency=medium
+
+  * TestRunner: when running build time tests, use the full path for extra
+    library directories installed in debian/$pkg
+
+ -- Antonio Terceiro <terceiro at debian.org>  Thu, 09 Apr 2015 16:14:32 +0200
+
 gem2deb (0.13) experimental; urgency=medium
 
   [ Antonio Terceiro ]
diff --git a/lib/gem2deb/test_runner.rb b/lib/gem2deb/test_runner.rb
index 67dbe8c..5ab51c4 100644
--- a/lib/gem2deb/test_runner.rb
+++ b/lib/gem2deb/test_runner.rb
@@ -39,7 +39,7 @@ module Gem2Deb
 
       dirs = []
       $LOAD_PATH.grep(/vendor/).each do |dir|
-        dirs += Dir.glob('debian/*/' + dir)
+        dirs += Dir.glob('debian/*/' + dir).map { |d| File.expand_path(d) }
       end
 
       # And we add the current directory:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/gem2deb.git



More information about the Pkg-ruby-extras-commits mailing list