repo-reprepro.py: set -e & pipefail

This commit is contained in:
Ricardo Pardini 2023-07-31 01:06:09 +02:00 committed by Igor
parent 624ac450e3
commit 0251d65b7a

View File

@ -88,6 +88,8 @@ log.info(f"Wrote {reprepro_conf_options_fn}")
# Prepare the reprepro-invoking bash script
bash_lines = [
"#!/bin/bash",
'set -e',
'set -o pipefail',
'mkdir -p "${REPO_CONF_LOCATION}"',
'cp -rv "${REPREPRO_INFO_DIR}/conf"/* "${REPO_CONF_LOCATION}"/',
# run clearvanished