Skip to content

Commit

Permalink
- use find instead of git ls-files in the event that we are
Browse files Browse the repository at this point in the history
  running from a source tarball.
  • Loading branch information
jordansissel committed Jan 19, 2012
1 parent e28fffc commit 6765357
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ build/ruby/logstash/runner.class: lib/logstash/runner.rb | build/ruby $(JRUBY)
.PHONY: copy-ruby-files
copy-ruby-files: | build/ruby
@# Copy lib/ and test/ files to the root.
$(QUIET)git ls-files | grep '^lib/.*\.rb$$' | sed -e 's,^lib/,,' \
$(QUIET)find ./lib -name '*.rb' | sed -e 's,^lib/,,' \
| (cd lib; cpio -p --make-directories ../build/ruby)
$(QUIET)git ls-files | grep '^test/.*\.rb$$' | sed -e 's,^test/,,' \
$(QUIET)find ./test -name '*.rb' | sed -e 's,^test/,,' \
| (cd test; cpio -p --make-directories ../build/ruby)

vendor:
Expand Down

0 comments on commit 6765357

Please sign in to comment.