Browse Source

add ulimit to fix "Argument list too long"

develop
Simon Vieille 2 years ago
parent
commit
c52020a775
Signed by: deblan GPG Key ID: 03383D15A1D31745
  1. 2
      hooks/on-finish
  2. 2
      hooks/on-start
  3. 2
      report

2
hooks/on-finish

@ -1 +1,3 @@
#!/bin/sh
ulimit -s $ULIMIT

2
hooks/on-start

@ -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
report

@ -22,6 +22,8 @@ fi
cd "$SCRIPT_PATH"
export ULIMIT=$(ulimit -s)
./hooks/on-start
REPORT="$(

Loading…
Cancel
Save