зеркало из https://github.com/github/ruby.git
* Makefile.in ({,dist-,real-}clean-ext): omission of "in WORDS" of
FOR-statement is not allowed in /bin/sh on Solaris. fore-ported r28609 from 1.9.2. * tool/rmdirs: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
9c37d74a8c
Коммит
9d3d606907
|
@ -1,3 +1,11 @@
|
||||||
|
Sun Jul 11 15:36:20 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* Makefile.in ({,dist-,real-}clean-ext): omission of "in WORDS" of
|
||||||
|
FOR-statement is not allowed in /bin/sh on Solaris. fore-ported
|
||||||
|
r28609 from 1.9.2.
|
||||||
|
|
||||||
|
* tool/rmdirs: ditto.
|
||||||
|
|
||||||
Sun Jul 11 11:07:42 2010 Yusuke Endoh <mame@tsg.ne.jp>
|
Sun Jul 11 11:07:42 2010 Yusuke Endoh <mame@tsg.ne.jp>
|
||||||
|
|
||||||
* test/rdoc/test_rdoc_ri_driver.rb (test_formatter): add a test. a
|
* test/rdoc/test_rdoc_ri_driver.rb (test_formatter): add a test. a
|
||||||
|
|
|
@ -259,11 +259,11 @@ distclean-rdoc:
|
||||||
clean-ext distclean-ext realclean-ext::
|
clean-ext distclean-ext realclean-ext::
|
||||||
@cd ext 2>/dev/null || exit 0; set dummy `echo "${EXTS}" | tr , ' '`; shift; \
|
@cd ext 2>/dev/null || exit 0; set dummy `echo "${EXTS}" | tr , ' '`; shift; \
|
||||||
test "$$#" = 0 && set .; \
|
test "$$#" = 0 && set .; \
|
||||||
set dummy `for dir; do \
|
set dummy `for dir in "$$@"; do \
|
||||||
find $$dir -name Makefile | sed 's:^\./::;s:/Makefile$$:~:' | sort | sed 's:~$$::'; \
|
find $$dir -name Makefile | sed 's:^\./::;s:/Makefile$$:~:' | sort | sed 's:~$$::'; \
|
||||||
done`; shift; \
|
done`; shift; \
|
||||||
cd ..; \
|
cd ..; \
|
||||||
for dir; do \
|
for dir in "$$@"; do \
|
||||||
echo $(@:-ext=)ing "$$dir"; \
|
echo $(@:-ext=)ing "$$dir"; \
|
||||||
(cd "ext/$$dir" && exec $(MAKE) $(MFLAGS) $(@:-ext=)) && \
|
(cd "ext/$$dir" && exec $(MAKE) $(MFLAGS) $(@:-ext=)) && \
|
||||||
case "$@" in \
|
case "$@" in \
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
for dir; do
|
for dir in "$@"; do
|
||||||
while rmdir "$dir" >/dev/null 2>&1 &&
|
while rmdir "$dir" >/dev/null 2>&1 &&
|
||||||
parent=`expr "$dir" : '\(.*\)/[^/][^/]*'`; do
|
parent=`expr "$dir" : '\(.*\)/[^/][^/]*'`; do
|
||||||
case "$parent" in
|
case "$parent" in
|
||||||
|
|
Загрузка…
Ссылка в новой задаче