File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 1- #! /bin/bash
1+ #! /bin/false
22# Copyright 2016 The Rust Project Developers. See the COPYRIGHT
33# file at the top-level directory of this distribution and at
44# http://rust-lang.org/COPYRIGHT.
99# option. This file may not be copied, modified, or distributed
1010# except according to those terms.
1111
12+ # This file is intended to be sourced with `. shared.sh` or
13+ # `source shared.sh`, hence the invalid shebang and not being
14+ # marked as an executable file in git.
15+
1216# See http://unix.stackexchange.com/questions/82598
1317function retry {
18+ echo " Attempting with retry:" " $@ "
1419 local n=1
1520 local max=5
16- local delay=15
1721 while true ; do
18- echo " Attempting:" " $@ "
1922 " $@ " && break || {
2023 if [[ $n -lt $max ]]; then
2124 (( n++ ))
You can’t perform that action at this time.
0 commit comments