diff --git a/build.d/gsa-main.sh b/build.d/gsa-main.sh index 8f422dc..7527dbb 100644 --- a/build.d/gsa-main.sh +++ b/build.d/gsa-main.sh @@ -16,8 +16,9 @@ tar -xf $gsa.tar.gz cd /build/*/ # Implement ICS GSA Mods BUILDDIR=$(pwd) +apt update && apt install patch -y echo "BUILDDIR $BUILDDIR" -patch -p1 < /ics-gsa/ics-gsa.patch +patch -p1 -R < /ics-gsa/ics-gsa.patch #/ics-gsa/scripts/gsa-mods.sh $BUILDDIR $tag apt update && apt install npm -y diff --git a/build.d/gsad.sh b/build.d/gsad.sh index 2edbd52..418c6c7 100644 --- a/build.d/gsad.sh +++ b/build.d/gsad.sh @@ -1,4 +1,5 @@ #!/bin/bash +apt update && apt install patch -y echo "Procs $(nproc)" > /usr/local/include/BuildProcs INSTALL_PREFIX="/usr/local/" set -Eeuo pipefail