Browse Source

add ulimit to fix "Argument list too long"

develop
Simon Vieille 3 months ago
parent
commit
c52020a775
Signed by: Simon Vieille <simon@deblan.fr> GPG Key ID: 03383D15A1D31745
3 changed files with 6 additions and 0 deletions
  1. 2
    0
      hooks/on-finish
  2. 2
    0
      hooks/on-start
  3. 2
    0
      report

+ 2
- 0
hooks/on-finish View File

@@ -1 +1,3 @@
#!/bin/sh

ulimit -s $ULIMIT

+ 2
- 0
hooks/on-start View File

@@ -1,5 +1,7 @@
#!/bin/sh

ulimit -s 65536

if ! apt-get update >/dev/null 2>/dev/null; then
printf "La mise à jour de la liste des paquets à échoué.\n"
fi

+ 2
- 0
report View File

@@ -22,6 +22,8 @@ fi

cd "$SCRIPT_PATH"

export ULIMIT=$(ulimit -s)

./hooks/on-start

REPORT="$(

Loading…
Cancel
Save