ruby-changes:16619
From: yugui <ko1@a...>
Date: Sun, 11 Jul 2010 15:15:30 +0900 (JST)
Subject: [ruby-changes:16619] Ruby:r28613 (ruby_1_9_2): * Makefile.in ({|dist-|real-}clean-ext): fixes the previous
yugui 2010-07-11 15:15:13 +0900 (Sun, 11 Jul 2010) New Revision: 28613 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=28613 Log: * Makefile.in ({|dist-|real-}clean-ext): fixes the previous commit. http://twitter.com/knu/status/18247078381 * tool/rmdirs: ditto. Modified files: branches/ruby_1_9_2/ChangeLog branches/ruby_1_9_2/Makefile.in branches/ruby_1_9_2/tool/rmdirs Index: ruby_1_9_2/ChangeLog =================================================================== --- ruby_1_9_2/ChangeLog (revision 28612) +++ ruby_1_9_2/ChangeLog (revision 28613) @@ -1,3 +1,10 @@ +Sun Jul 11 15:14:03 2010 Yuki Sonoda (Yugui) <yugui@y...> + + * Makefile.in ({|dist-|real-}clean-ext): fixes the previous + commit. http://twitter.com/knu/status/18247078381 + + * tool/rmdirs: ditto. + Sat Jul 10 20:03:48 2010 Yuki Sonoda (Yugui) <yugui@y...> * Makefile.in ({|dist-|real-}clean-ext): fixes syntax Index: ruby_1_9_2/Makefile.in =================================================================== --- ruby_1_9_2/Makefile.in (revision 28612) +++ ruby_1_9_2/Makefile.in (revision 28613) @@ -260,11 +260,11 @@ @if [ -d ext ]; then \ cd ext; set dummy `echo "${EXTS}" | tr , ' '`; shift; \ test "$$#" = 0 && set .; \ - set dummy `for dir in $$*; do \ + set dummy `for dir in "$$@"; do \ find $$dir -name Makefile | sed 's:^\./::;s:/Makefile$$:~:' | sort | sed 's:~$$::'; \ done`; shift; \ cd ..; \ - for dir in $$*; do \ + for dir in "$$@"; do \ echo $(@:-ext=)ing "$$dir"; \ (cd "ext/$$dir" && exec $(MAKE) $(MFLAGS) $(@:-ext=)) && \ case "$@" in \ Index: ruby_1_9_2/tool/rmdirs =================================================================== --- ruby_1_9_2/tool/rmdirs (revision 28612) +++ ruby_1_9_2/tool/rmdirs (revision 28613) @@ -1,5 +1,5 @@ #!/bin/sh -for dir in $$*; do +for dir in "$$@"; do while rmdir "$dir" >/dev/null 2>&1 && parent=`expr "$dir" : '\(.*\)/[^/][^/]*'`; do case "$parent" in -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/