aports/community/ruby-pygments/fix-gemspec.patch
2017-04-13 18:34:42 +02:00

13 lines
409 B
Diff

Busybox find does not support -printf. Moreover, there are no symlinks
in the tarball, so this exclude is quite useless.
--- a/pygments.rb.gemspec
+++ b/pygments.rb.gemspec
@@ -21,6 +21,5 @@
# s.extensions = ['ext/extconf.rb']
s.require_paths = ['lib']
- exclude = `find . -type l -printf '%P\\0'`.split("\0").map {|f| "':!#{f}'" } * ' '
s.files = `git ls-files -- . #{exclude}`.split("\n")
end