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
2
2
# Copyright 2016 The Rust Project Developers. See the COPYRIGHT
3
3
# file at the top-level directory of this distribution and at
4
4
# http://rust-lang.org/COPYRIGHT.
9
9
# option. This file may not be copied, modified, or distributed
10
10
# except according to those terms.
11
11
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
+
12
16
# See http://unix.stackexchange.com/questions/82598
13
17
function retry {
18
+ echo " Attempting with retry:" " $@ "
14
19
local n=1
15
20
local max=5
16
- local delay=15
17
21
while true ; do
18
- echo " Attempting:" " $@ "
19
22
" $@ " && break || {
20
23
if [[ $n -lt $max ]]; then
21
24
(( n++ ))
You can’t perform that action at this time.
0 commit comments