Skip to content

Commit

Permalink
dev-ruby/metasm: fix bash syntax error
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.2.23
  • Loading branch information
ZeroChaos- committed Oct 23, 2015
1 parent 4a5d6f0 commit f833b65
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dev-ruby/metasm/metasm-1.0.2-r3.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f833b65

Please sign in to comment.