mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/extmk.rb (parse_args): add '-n' to $mflags BEFORE "--".
do not add DESTDIR if already included in $fmlags. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
dc502aea7e
commit
986bfd904c
2 changed files with 7 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Mon Feb 10 20:55:15 2003 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||||
|
|
||||||
|
* ext/extmk.rb (parse_args): add '-n' to $mflags BEFORE "--".
|
||||||
|
do not add DESTDIR if already included in $fmlags.
|
||||||
|
|
||||||
Mon Feb 10 19:54:30 2003 Minero Aoki <aamine@loveruby.net>
|
Mon Feb 10 19:54:30 2003 Minero Aoki <aamine@loveruby.net>
|
||||||
|
|
||||||
* lib/fileutils.rb (FileUtils#uptodate?): use mtime for
|
* lib/fileutils.rb (FileUtils#uptodate?): use mtime for
|
||||||
|
|
|
@ -141,12 +141,11 @@ def parse_args()
|
||||||
if $mflags.set?(?n)
|
if $mflags.set?(?n)
|
||||||
$dryrun = true
|
$dryrun = true
|
||||||
else
|
else
|
||||||
$mflags << '-n' if $dryrun
|
$mflags.unshift '-n' if $dryrun
|
||||||
end
|
end
|
||||||
|
|
||||||
$mflags << "DESTDIR=#{$destdir}"
|
|
||||||
|
|
||||||
$continue = $mflags.set?(?k)
|
$continue = $mflags.set?(?k)
|
||||||
|
$mflags |= ["DESTDIR=#{$destdir}"]
|
||||||
end
|
end
|
||||||
|
|
||||||
parse_args()
|
parse_args()
|
||||||
|
|
Loading…
Add table
Reference in a new issue