DescriptionDon't update git url if 'read' times out
Previous code checked the exit status of 'echo' instead of 'read' to
determine if the 'read' command had timed out.
TEST=Create a mirror of depot_tools.git, git clone it, then run
./update_depot_tools, see prompt for changing the URL, wait at
least 60 seconds and verify that you get the timeout message.
R=maruel@chromium.org
BUG=
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=227427
Patch Set 1 #
Messages
Total messages: 3 (0 generated)
|