summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZero_Chaos <zerochaos@gentoo.org>2015-10-23 10:30:00 -0400
committerZero_Chaos <zerochaos@gentoo.org>2015-10-23 10:33:25 -0400
commitf833b6512c74d392852f5f9e770f193a6084c71d (patch)
tree9fcc0fde2e690bb30d3fa179ad5ae10b90c4c14b /dev-ruby/metasm
parentapp-emulation/virt-manager: fix depend on libosinfo (diff)
downloadgentoo-f833b6512c74d392852f5f9e770f193a6084c71d.tar.gz
gentoo-f833b6512c74d392852f5f9e770f193a6084c71d.tar.bz2
gentoo-f833b6512c74d392852f5f9e770f193a6084c71d.zip
dev-ruby/metasm: fix bash syntax error
Package-Manager: portage-2.2.23
Diffstat (limited to 'dev-ruby/metasm')
-rw-r--r--dev-ruby/metasm/metasm-1.0.2-r3.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/dev-ruby/metasm/metasm-1.0.2-r3.ebuild b/dev-ruby/metasm/metasm-1.0.2-r3.ebuild
index ad7a2b57cbe0..62fa8da32da6 100644
--- a/dev-ruby/metasm/metasm-1.0.2-r3.ebuild
+++ b/dev-ruby/metasm/metasm-1.0.2-r3.ebuild
@@ -26,7 +26,9 @@ RDEPEND="${RDEPEND} !dev-ruby/metasploit-model:0"
ruby_add_bdepend "dev-ruby/bundler"
all_ruby_prepare() {
- [ -f Gemfile.lock ] && rm Gemfile.lock || die
+ if [ -f Gemfile.lock ]; then
+ rm Gemfile.lock || die
+ fi
#For now, we don't support development or testing at all
#if ! use development; then
sed -i -e "/^group :development do/,/^end$/d" Gemfile || die