ruby-changes:46228
From: nobu <ko1@a...>
Date: Fri, 14 Apr 2017 09:45:53 +0900 (JST)
Subject: [ruby-changes:46228] nobu:r58344 (trunk): git-refresh: fix abort by cd failure
nobu 2017-04-14 09:45:48 +0900 (Fri, 14 Apr 2017) New Revision: 58344 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58344 Log: 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] Modified files: trunk/tool/git-refresh Index: tool/git-refresh =================================================================== --- tool/git-refresh (revision 58343) +++ tool/git-refresh (revision 58344) @@ -1,7 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/tool/git-refresh#L1 #!/bin/sh set -e -if cd -P . 2>/dev/null; then +if (cd -P .) 2>/dev/null; then CHDIR='cd -P' else CHDIR='cd' -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/