mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* configure.in (RMDIRS): use rmdir -p if possible.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
cce8bbb794
commit
0edceaa7c7
2 changed files with 9 additions and 2 deletions
|
@ -1,4 +1,6 @@
|
|||
Mon Mar 22 17:37:58 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
Mon Mar 22 18:01:13 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* configure.in (RMDIRS): use rmdir -p if possible.
|
||||
|
||||
* Makefile.in ({dist,real}clean-ext): fix for removing ext
|
||||
directories.
|
||||
|
|
|
@ -337,7 +337,12 @@ AC_USE_SYSTEM_EXTENSIONS
|
|||
|
||||
AC_SUBST(RM, ['rm -f'])
|
||||
AC_SUBST(CP, ['cp'])
|
||||
AC_SUBST(RMDIRS, ['$(top_srcdir)/tool/rmdirs'])
|
||||
RMDIRS='$(top_srcdir)/tool/rmdirs'
|
||||
mkdir "rmdirs_$$_test" "rmdirs_$$_test/a"
|
||||
rmdir -p "rmdirs_$$_test/a" 2>/dev/null &&
|
||||
{ test -d "rmdirs_$$_test" || RMDIRS='rmdir -p'; }
|
||||
rmdir "rmdirs_$$_test/a" "rmdirs_$$_test" 2>/dev/null
|
||||
AC_SUBST(RMDIRS)
|
||||
AC_SUBST(RMALL, ['rm -fr'])
|
||||
|
||||
AC_MSG_CHECKING([for cd using phisical directory])
|
||||
|
|
Loading…
Reference in a new issue