From c9bc5d9c75868ee83a35e8c2eefa2ad92789c14d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ana=20Mar=C3=ADa=20Mart=C3=ADnez=20G=C3=B3mez?= Date: Thu, 1 Mar 2018 16:17:13 +0100 Subject: [PATCH] Fix Trollolo executable Trollolo executable got broken in: https://github.com/openSUSE/trollolo/pull/170 Fixes https://github.com/openSUSE/trollolo/issues/181 --- trollolo.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trollolo.gemspec b/trollolo.gemspec index 66088b2..f408cbe 100644 --- a/trollolo.gemspec +++ b/trollolo.gemspec @@ -20,7 +20,7 @@ Gem::Specification.new do |s| s.add_dependency 'ruby-trello', '~> 2.0' s.files = `git ls-files`.split("\n") - s.executables = `git ls-files`.split("\n").map{|f| f =~ %r{/^bin\/(.*)/} ? Regexp.last_match(1) : nil}.compact + s.executables = `git ls-files`.split("\n").map{|f| f =~ %r{^bin/(.*)} ? Regexp.last_match(1) : nil}.compact s.require_path = 'lib' s.files += Dir['man/*.?'] # UNIX man pages