diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-19 05:18:27 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-19 05:18:27 +0000 |
commit | 4bc1c36c3e5bfaf2c886dee58d8d80382b92a110 (patch) | |
tree | dce771cbc0ffcb11efbea100e024e915531f6336 /lib | |
parent | e5756fae1acff1c5a730f1c8e8f98b5b568ffc87 (diff) | |
download | ruby-4bc1c36c3e5bfaf2c886dee58d8d80382b92a110.tar.gz ruby-4bc1c36c3e5bfaf2c886dee58d8d80382b92a110.tar.xz ruby-4bc1c36c3e5bfaf2c886dee58d8d80382b92a110.zip |
* lib/mkmf.rb (create_makefile): removes directories in the depth
order.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mkmf.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/mkmf.rb b/lib/mkmf.rb index 40b0c2f58..6e936c767 100644 --- a/lib/mkmf.rb +++ b/lib/mkmf.rb @@ -1720,10 +1720,9 @@ static: $(STATIC_LIB)#{$extout ? " install-rb" : ""} end if $extout dirs.uniq! - dirs.reverse! unless dirs.empty? mfile.print("clean-rb#{sfx}::\n") - for dir in dirs + for dir in dirs.sort_by {|dir| -dir.count('/')} mfile.print("\t@-$(RMDIRS) #{fseprepl[dir]}\n") end end |