mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/extmk.rb.in: always use File.expand_path for $top_srcdir.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ff954d7e17
commit
e38f8b5cdc
2 changed files with 8 additions and 6 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
Mon Jul 29 16:00:54 2002 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||||
|
|
||||||
|
* ext/extmk.rb.in: always use File.expand_path for $top_srcdir.
|
||||||
|
|
||||||
Sat Jul 27 23:07:52 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
|
Sat Jul 27 23:07:52 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
* numeric.c (num_to_int): default to_int implementaion for every
|
* numeric.c (num_to_int): default to_int implementaion for every
|
||||||
|
|
|
@ -27,11 +27,9 @@ $extlist = []
|
||||||
|
|
||||||
$libdir = "@libdir@"
|
$libdir = "@libdir@"
|
||||||
|
|
||||||
$top_srcdir = "@top_srcdir@"
|
# get absolute path
|
||||||
if $top_srcdir !~ ("^" + File::SEPARATOR)
|
$top_srcdir = File.expand_path("@top_srcdir@")
|
||||||
# get absolute path
|
|
||||||
$top_srcdir = File.expand_path($top_srcdir)
|
|
||||||
end
|
|
||||||
# get absolute path
|
# get absolute path
|
||||||
$topdir = File.expand_path("..")
|
$topdir = File.expand_path("..")
|
||||||
|
|
||||||
|
@ -539,7 +537,7 @@ EOS
|
||||||
mfile.printf "\n"
|
mfile.printf "\n"
|
||||||
|
|
||||||
unless /mswin32/ =~ RUBY_PLATFORM
|
unless /mswin32/ =~ RUBY_PLATFORM
|
||||||
if /bccwin32/=~ RUBY_PLATFORM
|
if /bccwin32/ =~ RUBY_PLATFORM
|
||||||
src = '$(<:\\=/)'
|
src = '$(<:\\=/)'
|
||||||
else
|
else
|
||||||
src = '$<'
|
src = '$<'
|
||||||
|
|
Loading…
Reference in a new issue