From d7c8c4a5788c8dcf57636b315b330219ae4ff4af Mon Sep 17 00:00:00 2001 From: Masaya Tojo Date: Sat, 31 Jul 2021 23:14:06 +0900 Subject: Use pipefail. --- jobs/acl2-theorems.before | 3 ++- jobs/acl2-verify.run | 3 ++- jobs/pull-cfg.run | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) (limited to 'jobs') diff --git a/jobs/acl2-theorems.before b/jobs/acl2-theorems.before index da530b7..2896556 100755 --- a/jobs/acl2-theorems.before +++ b/jobs/acl2-theorems.before @@ -1,3 +1,4 @@ -#!/bin/sh +#!/usr/bin/env bash +set -euo pipefail guix environment --ad-hoc nss-certs git -- git clone https://git.tojo.tokyo/acl2-theorems.git . diff --git a/jobs/acl2-verify.run b/jobs/acl2-verify.run index 050b435..94fa6a1 100755 --- a/jobs/acl2-verify.run +++ b/jobs/acl2-verify.run @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash +set -euo pipefail echo "--- acl2 verify: $path ---" { diff --git a/jobs/pull-cfg.run b/jobs/pull-cfg.run index 35d32e4..90ccac3 100755 --- a/jobs/pull-cfg.run +++ b/jobs/pull-cfg.run @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash +set -euo pipefail cd /var/lib/laminar/cfg guix environment --ad-hoc nss-certs git -- git pull -- cgit v1.2.3