diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/test-hook.sh | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/scripts/test-hook.sh b/scripts/test-hook.sh index 0a561ae..64ca6b9 100755 --- a/scripts/test-hook.sh +++ b/scripts/test-hook.sh @@ -15,14 +15,9 @@ LOGFILE="${LOGS_DIR}/$(date -Is)-${COMMIT}.log" touch "${LOGFILE}" "${LOGS_PREFIX}"/ci-gen-index.sh -status() { - printf "\n\n>>> exit status was %s\n" "$1" >> "$LOGFILE" -} - finish() { - status "$?" + printf "\n\n>>> exit status was %s\n" "$1" >> "$LOGFILE" } trap finish EXIT nix-build -A test 2>&1 | tee "$LOGFILE" -status "$?" |