mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Show include directive differences only when under git
When building from tarballs, the source directory is not a git repository.
This commit is contained in:
parent
9318e1ff3e
commit
b563439274
1 changed files with 3 additions and 1 deletions
|
@ -723,7 +723,9 @@ clean-spec: PHONY
|
|||
|
||||
check: main test test-tool test-all test-spec
|
||||
$(ECHO) check succeeded
|
||||
- $(GIT) --no-pager -C "$(srcdir)" log --format=oneline -G "^ *# *include" origin/master..HEAD
|
||||
-$(Q) if [ x"$(GIT)" != x ] && $(CHDIR) "$(srcdir)" && $(GIT) rev-parse > /dev/null 2>&1; then \
|
||||
set -x; $(GIT) --no-pager log --format=oneline -G "^ *# *include" origin/master..HEAD; \
|
||||
fi
|
||||
check-ruby: test test-ruby
|
||||
|
||||
fake: $(CROSS_COMPILING)-fake
|
||||
|
|
Loading…
Reference in a new issue