ruby-changes:27805
From: nobu <ko1@a...>
Date: Thu, 21 Mar 2013 14:26:42 +0900 (JST)
Subject: [ruby-changes:27805] nobu:r39857 (trunk): Makefile.in: remove broken symlinks
nobu 2013-03-21 14:26:32 +0900 (Thu, 21 Mar 2013) New Revision: 39857 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=39857 Log: Makefile.in: remove broken symlinks * Makefile.in ($(LIBRUBY_SO)): always try to remove symlink targets for broken symlinks. Modified files: trunk/Makefile.in Index: Makefile.in =================================================================== --- Makefile.in (revision 39856) +++ Makefile.in (revision 39857) @@ -223,7 +223,7 @@ $(LIBRUBY_SO): https://github.com/ruby/ruby/blob/trunk/Makefile.in#L223 $(Q) $(LDSHARED) $(DLDFLAGS) $(OBJS) $(DLDOBJS) $(DTRACE_OBJ) $(SOLIBS) $(EXTSOLIBS) $(OUTFLAG)$@ -$(Q) $(OBJCOPY) -w -L '$(SYMBOL_PREFIX)Init_*' -L '$(SYMBOL_PREFIX)*_threadptr_*' $@ $(Q) $(POSTLINK) - @-$(MINIRUBY) -e 'ARGV.each{|link| File.delete link if File.exist? link; \ + @-$(MINIRUBY) -e 'ARGV.each{|link| File.delete link rescue nil; \ File.symlink "$(LIBRUBY_SO)", link}' \ $(LIBRUBY_ALIASES) || true $(arch)-fake.rb: config.status $(srcdir)/template/fake.rb.in -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/