Skip to content

Commit e477393

Browse files
author
Paulo Gomes
committed
Add curl timeout for attributions
Signed-off-by: Paulo Gomes <[email protected]>
1 parent 42e4455 commit e477393

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

ATTRIBUTIONS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Copyright notice (https://raw.githubusercontent.com/libssh2/libssh2/main/COPYING
5858
* OF SUCH DAMAGE.
5959
*/
6060

61-
**********************************************************************
61+
***
6262

6363
## libgit2
6464

@@ -1198,7 +1198,7 @@ STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
11981198
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
11991199
OF THE POSSIBILITY OF SUCH DAMAGE.
12001200

1201-
**********************************************************************
1201+
***
12021202

12031203
## zlib
12041204

hack/update-attributions.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -eoux pipefail
44

5-
SPLIT="**********************************************************************"
5+
SPLIT="***"
66

77
cat <<EOF > ATTRIBUTIONS.md
88
# Attributions
@@ -21,7 +21,7 @@ No changes were made to its original source code.
2121
2222
Copyright notice (https://raw.githubusercontent.com/libssh2/libssh2/main/COPYING):
2323
24-
$(curl -L https://raw.githubusercontent.com/libssh2/libssh2/master/COPYING)
24+
$(curl --max-time 5 -L https://raw.githubusercontent.com/libssh2/libssh2/master/COPYING)
2525
2626
${SPLIT}
2727
@@ -34,7 +34,7 @@ No changes were made to its original source code.
3434
3535
Copyright notice (https://raw.githubusercontent.com/libgit2/libgit2/main/COPYING):
3636
37-
$(curl -L https://raw.githubusercontent.com/libgit2/libgit2/main/COPYING)
37+
$(curl --max-time 5 -L https://raw.githubusercontent.com/libgit2/libgit2/main/COPYING)
3838
3939
${SPLIT}
4040

0 commit comments

Comments
 (0)