diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-04-17 13:35:40 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-04-17 13:35:40 +0000 |
commit | 902084a60a0e4d47621bdfc458480f42135d3da7 (patch) | |
tree | 3d63a3e74e7d9b8e6ebe64ecece2297cd495307a /common.mk | |
parent | 43dbbefbdf9cf46933bb4c24929de9e8b1a66429 (diff) | |
download | ruby-902084a60a0e4d47621bdfc458480f42135d3da7.tar.gz |
* common.mk (REVISION_H): create temporary file in cwd so that it
works if srcdir is not writable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'common.mk')
-rw-r--r-- | common.mk | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -859,8 +859,8 @@ $(srcdir)/revision.h: @exit > $@ $(REVISION_H): $(srcdir)/version.h $(srcdir)/ChangeLog $(srcdir)/tool/file2lastrev.rb $(REVISION_FORCE) - @-$(BASERUBY) $(srcdir)/tool/file2lastrev.rb --revision.h "$(srcdir)" > "$(srcdir)/revision.tmp" - @$(IFCHANGE) "--timestamp=$@" "$(srcdir)/revision.h" "$(srcdir)/revision.tmp" + @-$(BASERUBY) $(srcdir)/tool/file2lastrev.rb --revision.h "$(srcdir)" > revision.tmp + @$(IFCHANGE) "--timestamp=$@" "$(srcdir)/revision.h" revision.tmp $(srcdir)/ext/ripper/ripper.c: parse.y $(ECHO) generating $@ |