Commit 4a8eaa9b authored by intrigeri's avatar intrigeri

Simplify: we're running under "set -e"

parent e0fa6319
......@@ -6,7 +6,7 @@ for dir in config/APT_snapshots.d vagrant/definitions/tails-builder/config/APT_s
(
set -eu
echo "${dir:?}:"
cd "${dir:?}" && \
cd "${dir:?}"
for ARCHIVE in * ; do
SERIAL="$(cat ${ARCHIVE:?}/serial)"
if [ "${SERIAL:?}" = 'latest' ]; then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment