mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-19 15:59:00 -04:00
nim-utils.eclass: beautify skipfile handling
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
parent
329f81b552
commit
1f634424c7
@ -79,9 +79,9 @@ etestament() {
|
||||
if [[ ${ETESTAMENT_DESELECT} ]]; then
|
||||
local skipfile="${T}"/testament.skipfile
|
||||
if [[ ! -f ${skipfile} ]]; then
|
||||
for t in "${ETESTAMENT_DESELECT[@]}"; do
|
||||
echo "${t}" >> "${skipfile}"
|
||||
done
|
||||
printf "%s\n" "${ETESTAMENT_DESELECT[@]}" > "${skipfile}"
|
||||
else
|
||||
debug-print "${skipfile} already exists, not overwriting"
|
||||
fi
|
||||
testament_args+=( --skipFrom:"${skipfile}" )
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user