diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-11-09 01:32:25 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-11-09 01:32:25 +0000 |
commit | e120e375774f9cb3f45e3275f03bfdf06c6b2a6e (patch) | |
tree | 8a9e5286ee08befdabe0e23eb6e9cbcc371cbeef /configure.in | |
parent | f9188dea88f26381af85fcbcac7e35bab98a38fd (diff) | |
download | ruby-e120e375774f9cb3f45e3275f03bfdf06c6b2a6e.tar.gz |
* configure.in: should not use test -e for portability.
[ruby-core:40841] [Bug #5594]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 5e1c479c12..b1bc951e52 100644 --- a/configure.in +++ b/configure.in @@ -405,7 +405,7 @@ $as_ln_s ../build . > /dev/null 2>&1 && cd build && for chdir in 'cd -P' 'PWD= cd'; do /bin/sh -c "$chdir ../src && echo '$chdir' > cdcmd" 2> /dev/null && break done) -if test -e conf$$.dir/src/cdcmd; then +if test -f conf$$.dir/src/cdcmd; then read CHDIR < conf$$.dir/src/cdcmd 2> /dev/null else CHDIR=cd |