mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Makefile.in: CHDIR to srcdir
* Makefile.in (update-mspec, update-rubyspec): use CHDIR, which may use -P, to resolve symbolic links. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9fe1433575
commit
c1138f066a
1 changed files with 2 additions and 2 deletions
|
@ -473,7 +473,7 @@ update-mspec:
|
|||
$(Q1:0=:) set -x; \
|
||||
exec git clone $(MSPEC_GIT_URL) spec/mspec; \
|
||||
fi
|
||||
$(Q)cd $(srcdir)/spec/mspec && exec git --no-pager log -1 --oneline
|
||||
$(Q)$(CHDIR) $(srcdir)/spec/mspec && exec git --no-pager log -1 --oneline
|
||||
|
||||
update-rubyspec: update-mspec
|
||||
@$(CHDIR) $(srcdir); \
|
||||
|
@ -487,7 +487,7 @@ update-rubyspec: update-mspec
|
|||
$(Q1:0=:) set -x; \
|
||||
exec git clone $(RUBYSPEC_GIT_URL) spec/rubyspec; \
|
||||
fi
|
||||
$(Q)cd $(srcdir)/spec/rubyspec && exec git --no-pager log -1 --oneline
|
||||
$(Q)$(CHDIR) $(srcdir)/spec/rubyspec && exec git --no-pager log -1 --oneline
|
||||
|
||||
test-rubyspec-precheck:
|
||||
@if [ ! -d $(srcdir)/spec/rubyspec ]; then echo No rubyspec here. make update-rubyspec first.; exit 1; fi
|
||||
|
|
Loading…
Reference in a new issue