From cc5c45e3aab6bc5ea878e19c3936ff4b525db508 Mon Sep 17 00:00:00 2001 From: Maarten Billemont Date: Tue, 5 Jun 2018 14:44:54 -0400 Subject: [PATCH] Trace subshell errors. --- .gitlab-ci.yml | 1 + platform-darwin/Scripts/genassets | 4 ++-- platform-darwin/Scripts/updatePlist | 4 ++-- public/site | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6cc5b71a..d8e99807 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,6 +2,7 @@ variables: SHLVL: 0 JEKYLL_ENV: production GIT_SUBMODULE_STRATEGY: recursive + GIT_DEPTH: "3" build_project: stage: build diff --git a/platform-darwin/Scripts/genassets b/platform-darwin/Scripts/genassets index dfaad351..c343423e 100755 --- a/platform-darwin/Scripts/genassets +++ b/platform-darwin/Scripts/genassets @@ -2,8 +2,8 @@ # See https://developer.apple.com/library/ios/qa/qa1686/_index.html cd "${BASH_SOURCE%/*}" source bashlib -trap 'c=$BASH_COMMAND s=$?; (( s )) && echo >&2 "ERROR: $s: $c"; exit $s' EXIT -set -e +trap 'echo >&2 "ERROR: $?: $BASH_COMMAND"' ERR +set -eE cd .. export PATH+=:/usr/local/bin diff --git a/platform-darwin/Scripts/updatePlist b/platform-darwin/Scripts/updatePlist index 3cf97c50..1e099d6f 100755 --- a/platform-darwin/Scripts/updatePlist +++ b/platform-darwin/Scripts/updatePlist @@ -1,8 +1,8 @@ #!/usr/bin/env bash cd "${BASH_SOURCE%/*}" source ./bashlib -trap 'c=$BASH_COMMAND s=$?; (( s )) && echo >&2 "ERROR: $s: $c"; exit $s' EXIT -set -e +trap 'echo >&2 "ERROR: $?: $BASH_COMMAND"' ERR +set -eE cd .. export PATH+=:/usr/libexec diff --git a/public/site b/public/site index c5e264ee..6cde8d9d 160000 --- a/public/site +++ b/public/site @@ -1 +1 @@ -Subproject commit c5e264ee9f8a85ce9d6d847c6c0d5255b4c840c1 +Subproject commit 6cde8d9db84310abba0ec5f278862466a51e6a96