repo-reprepro.py: set -e & pipefail
This commit is contained in:
parent
624ac450e3
commit
0251d65b7a
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user