1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
Description: do not use `git ls-files`
Author: HIGUCHI Daisuke (VDR dai) <dai@debian.org>
Forwarded: not-needed
Last-Update: 2019-08-04
Index: ruby-notiffany/notiffany.gemspec
===================================================================
--- ruby-notiffany.orig/notiffany.gemspec
+++ ruby-notiffany/notiffany.gemspec
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
spec.homepage = "https://github.com/guard/notiffany"
spec.license = "MIT"
- git_files = `git ls-files -z`.split("\x0")
+ git_files = Dir['**/*'].reject { |f| f =~ %r{^debian/} }
files = git_files.select { |f| %r{^lib/.*$} =~ f }
files += %w(README.md LICENSE.txt)
|