[DRE-commits] [ruby-gnome2] 02/06: Use RbConfig instead of the deprecated Config
Paul van Tilburg
paulvt at moszumanska.debian.org
Sat Feb 15 12:04:10 UTC 2014
This is an automated email from the git hooks/post-receive script.
paulvt pushed a commit to branch master
in repository ruby-gnome2.
commit f2ab7c61297ec5a1ee2c9ac5ca7b25a91592056a
Author: Paul van Tilburg <paulvt at debian.org>
Date: Sat Feb 15 12:30:05 2014 +0100
Use RbConfig instead of the deprecated Config
---
debian/build | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/debian/build b/debian/build
index 1e55023..faceea6 100755
--- a/debian/build
+++ b/debian/build
@@ -10,8 +10,8 @@ fi
ruby="$1"
-libdir=$($ruby -rrbconfig -e 'puts Config::CONFIG["vendordir"]')
-archdir=$($ruby -rrbconfig -e 'puts Config::CONFIG["vendorarchdir"]')
+libdir=$($ruby -rrbconfig -e 'puts RbConfig::CONFIG["vendordir"]')
+archdir=$($ruby -rrbconfig -e 'puts RbConfig::CONFIG["vendorarchdir"]')
curdir=$(pwd)
pkgdir="$curdir/debian/tmp"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-gnome2.git
More information about the Pkg-ruby-extras-commits
mailing list