mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
git-refresh: fix abort by cd failure
* tool/git-refresh: try `cd -P` in a subshell, because Solaris10 sh dies if it fails, not only the command. [ruby-dev:50074] [Bug #13433] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
197ebcb083
commit
03421631bd
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
if cd -P . 2>/dev/null; then
|
||||
if (cd -P .) 2>/dev/null; then
|
||||
CHDIR='cd -P'
|
||||
else
|
||||
CHDIR='cd'
|
||||
|
|
Loading…
Add table
Reference in a new issue