aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2024-07-29 23:43:53 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2024-07-29 23:44:20 +0200
commitbbcfddf456fdf1fca2b36cb0386df93cbc211305 (patch)
tree437e0cd8fae40a57106e16309e78be9c39251635
parentspecs/amd64/livegui: add zfs back for dist-kernel (diff)
downloadreleng-bbcfddf456fdf1fca2b36cb0386df93cbc211305.tar.gz
releng-bbcfddf456fdf1fca2b36cb0386df93cbc211305.tar.bz2
releng-bbcfddf456fdf1fca2b36cb0386df93cbc211305.zip
catalyst-auto: Replace more than one / with _ in logfile name
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
-rwxr-xr-xtools/catalyst-auto4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/catalyst-auto b/tools/catalyst-auto
index 04db65e7..d1a72d91 100755
--- a/tools/catalyst-auto
+++ b/tools/catalyst-auto
@@ -483,7 +483,7 @@ run_catalyst_commands() {
fi
for i in ${!specs_var}; do
- LOGFILE="${TMPDIR}/log/$(echo "${i}" | sed -e 's:/:_:' -e 's:\.spec$::').log"
+ LOGFILE="${TMPDIR}/log/$(echo "${i}" | sed -e 's:/:_:g' -e 's:\.spec$::').log"
specpath=$(readlink -f "${i}")
run_cmd "${LOGFILE}" "${timeprefix[@]}" catalyst -a -c "${CATALYST_CONFIG}" -f "${specpath}"
if [[ $? != 0 ]]; then
@@ -496,7 +496,7 @@ run_catalyst_commands() {
done
for i in ${!optional_specs_var}; do
- LOGFILE="${TMPDIR}/log/$(echo "${i}" | sed -e 's:/:_:' -e 's:\.spec$::').log"
+ LOGFILE="${TMPDIR}/log/$(echo "${i}" | sed -e 's:/:_:g' -e 's:\.spec$::').log"
specpath=$(readlink -f "${i}")
run_cmd "${LOGFILE}" "${timeprefix[@]}" catalyst -a -c "${CATALYST_CONFIG}" -f "${specpath}"
if [[ $? != 0 ]]; then