diff options
author | Hans de Graaff <graaff@gentoo.org> | 2013-06-01 13:18:45 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2013-06-01 13:18:45 +0000 |
commit | 1754b845d066058cf46def5cc14997f86cdc55dd (patch) | |
tree | 469c66f490909449e2439a2fc9de37406089f260 /eclass/ruby-fakegem.eclass | |
parent | keyword ~amd64 ~x86 (diff) | |
download | historical-1754b845d066058cf46def5cc14997f86cdc55dd.tar.gz historical-1754b845d066058cf46def5cc14997f86cdc55dd.tar.bz2 historical-1754b845d066058cf46def5cc14997f86cdc55dd.zip |
Quote DISTDIR.
Diffstat (limited to 'eclass/ruby-fakegem.eclass')
-rw-r--r-- | eclass/ruby-fakegem.eclass | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/ruby-fakegem.eclass b/eclass/ruby-fakegem.eclass index a233f82d8f12..c18a11ea5546 100644 --- a/eclass/ruby-fakegem.eclass +++ b/eclass/ruby-fakegem.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-fakegem.eclass,v 1.38 2013/02/24 07:45:46 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-fakegem.eclass,v 1.39 2013/06/01 13:18:45 graaff Exp $ # @ECLASS: ruby-fakegem.eclass # @MAINTAINER: @@ -281,7 +281,7 @@ ruby_fakegem_genspec() { # so better taking this into consideration. local quoted_description=${DESCRIPTION//\"/\\\"} cat - > $1 <<EOF -# generated by ruby-fakegem.eclass $Revision: 1.38 $ +# generated by ruby-fakegem.eclass $Revision: 1.39 $ Gem::Specification.new do |s| s.name = "${RUBY_FAKEGEM_NAME}" s.version = "${RUBY_FAKEGEM_VERSION}" @@ -331,7 +331,7 @@ ruby_fakegem_binwrapper() { #!${rubycmd} # This is a simplified version of the RubyGems wrapper # -# Generated by ruby-fakegem.eclass $Revision: 1.38 $ +# Generated by ruby-fakegem.eclass $Revision: 1.39 $ require 'rubygems' @@ -376,7 +376,7 @@ all_ruby_unpack() { [[ -d "${S}" ]] && die "Unable to unpack ${archive}, ${S} exists" ebegin "Unpacking .gem file..." - tar -mxf ${DISTDIR}/${archive} || die + tar -mxf "${DISTDIR}"/${archive} || die eend $? ebegin "Uncompressing metadata" |