summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bracht Laumann Jespersen <t@laumann.xyz>2022-06-08 21:40:53 +0200
committerSam James <sam@gentoo.org>2022-06-16 17:30:29 +0100
commitedba288e3b9de5ce182b82d397e7bd187c323086 (patch)
treebefc2c5a8392aa4a076f841cbe442bf83770b23c /dev-ruby/rubyzip
parentdev-ruby/ruby-mp3info: fix unquoted variable T (diff)
downloadgentoo-edba288e3b9de5ce182b82d397e7bd187c323086.tar.gz
gentoo-edba288e3b9de5ce182b82d397e7bd187c323086.tar.bz2
gentoo-edba288e3b9de5ce182b82d397e7bd187c323086.zip
dev-ruby/rubyzip: fix unquoted variable T
Signed-off-by: Thomas Bracht Laumann Jespersen <t@laumann.xyz> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-ruby/rubyzip')
-rw-r--r--dev-ruby/rubyzip/rubyzip-1.3.0.ebuild4
-rw-r--r--dev-ruby/rubyzip/rubyzip-2.3.2-r1.ebuild2
2 files changed, 3 insertions, 3 deletions
diff --git a/dev-ruby/rubyzip/rubyzip-1.3.0.ebuild b/dev-ruby/rubyzip/rubyzip-1.3.0.ebuild
index 20c157d72842..b27c27810122 100644
--- a/dev-ruby/rubyzip/rubyzip-1.3.0.ebuild
+++ b/dev-ruby/rubyzip/rubyzip-1.3.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -42,7 +42,7 @@ all_ruby_prepare() {
sed -i -e '/bundler/ s:^:#:' Rakefile || die
# Fix hardcoded path to /tmp
- sed -i -e 's:/tmp/:'${T}'/:g' test/entry_test.rb || die
+ sed -i -e "s:/tmp/:${T}/:g" test/entry_test.rb || die
# Add missing requires
sed -i -e '1irequire "forwardable"; require "pathname"' test/input_stream_test.rb || die
diff --git a/dev-ruby/rubyzip/rubyzip-2.3.2-r1.ebuild b/dev-ruby/rubyzip/rubyzip-2.3.2-r1.ebuild
index c44bdc3a4f9b..ed7059e5e1b7 100644
--- a/dev-ruby/rubyzip/rubyzip-2.3.2-r1.ebuild
+++ b/dev-ruby/rubyzip/rubyzip-2.3.2-r1.ebuild
@@ -44,7 +44,7 @@ all_ruby_prepare() {
sed -i -e '/bundler/ s:^:#: ; /rubocop/I s:^:#:' Rakefile || die
# Fix hardcoded path to /tmp
- sed -i -e 's:/tmp/:'${T}'/:g' test/entry_test.rb || die
+ sed -i -e "s:/tmp/:${T}/:g" test/entry_test.rb || die
# Add missing requires
sed -i -e '1irequire "forwardable"; require "pathname"' test/input_stream_test.rb || die