Revert "build script: Mass fix trap ... ERR INT TERM -> trap ... ERR." This reverts commit 476e5ee7820c4794d5a770332f440b531e5f00f4.