aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-02-28 00:00:33 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-02-28 00:00:33 +0000
commit9b3ce99bc797437402d376e2fcb107060f161ab8 (patch)
treeb8bf1d7117ed3b07e4ba154a66a363ab4e843464 /Makefile.in
parent4f7bddef061a08f8c6ff9f0ce1fe5f17fbd9063e (diff)
downloadruby-9b3ce99bc797437402d376e2fcb107060f161ab8.tar.gz
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
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index f5940555f9..c182949427 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -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