[DRE-commits] [SCM] ruby-whitewash.git branch, master, updated. upstream/2.0-6-g8c4df3b
Dmitry Borodaenko
angdraug at debian.org
Sun Dec 25 15:11:45 UTC 2011
The following commit has been merged in the master branch:
commit 8c4df3b47efa3c74dac9058d265f0855cc2e47cb
Author: Dmitry Borodaenko <angdraug at debian.org>
Date: Sun Dec 25 18:11:26 2011 +0300
update ruby-whitewash data dir fix to use RbConfig
diff --git a/debian/patches/0001-rename-data-dir-to-ruby-whitewash.patch b/debian/patches/0001-rename-data-dir-to-ruby-whitewash.patch
index 7bb1ff1..11865c2 100644
--- a/debian/patches/0001-rename-data-dir-to-ruby-whitewash.patch
+++ b/debian/patches/0001-rename-data-dir-to-ruby-whitewash.patch
@@ -7,7 +7,7 @@ Subject: rename data dir to ruby-whitewash
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/whitewash.rb b/lib/whitewash.rb
-index 1446894..33f963e 100644
+index 1446894..45e383e 100644
--- a/lib/whitewash.rb
+++ b/lib/whitewash.rb
@@ -120,9 +120,9 @@ class Whitewash
@@ -18,7 +18,7 @@ index 1446894..33f963e 100644
- File.join(RbConfig::CONFIG['datadir'].untaint, 'whitewash'),
- '/usr/local/share/whitewash/' ]
+ PATH = [ '/etc/ruby-whitewash',
-+ File.join(Config::CONFIG['datadir'].untaint, 'ruby-whitewash'),
++ File.join(RbConfig::CONFIG['datadir'].untaint, 'ruby-whitewash'),
+ '/usr/local/share/ruby-whitewash/' ]
WHITELIST = 'whitelist.yaml'
--
ruby-whitewash.git
More information about the Pkg-ruby-extras-commits
mailing list