Joerg Jaspert pushed to branch master at Debian FTP Team / dak
Commits:
-
8a01d2a6
by Mark Hymers at 2020-09-26T11:22:19+01:00
-
be21d17e
by Joerg Jaspert at 2020-10-25T11:34:04+01:00
1 changed file:
Changes:
... | ... | @@ -202,7 +202,12 @@ cd ${ftpdir}/dists/${pusuite} |
202 | 202 |
mv -t "${pumorguedir}" -n -- *.changes
|
203 | 203 |
if [[ -n ${skiplist} ]]; then
|
204 | 204 |
for pack in ${skiplist}; do
|
205 |
- mv -t "${ftpdir}/dists/${pusuite}" ${pumorguedir}/${pack}_*.changes
|
|
205 |
+ # In corner cases, we may not have the changes file to move back - don't crash
|
|
206 |
+ if compgen -G ${pumorguedir}/${pack}_*.changes >/dev/null; then
|
|
207 |
+ mv -t "${ftpdir}/dists/${pusuite}" ${pumorguedir}/${pack}_*.changes
|
|
208 |
+ else
|
|
209 |
+ echo 'W: No changes files for ${pumorguedir}/${pack}_*.changes - check this is expected'
|
|
210 |
+ fi
|
|
206 | 211 |
done
|
207 | 212 |
fi
|
208 | 213 |
|
... | ... | @@ -328,7 +333,7 @@ done |
328 | 333 |
read -e -p "Does the diff look ok? Enter anything if not, empty if yes (if nonempty, I will open an editor for you)" diffcheck
|
329 | 334 |
if [[ -n ${diffcheck} ]]; then
|
330 | 335 |
cd ${ftpdir}/dists/${suite}
|
331 |
- edit-changelog "" ../README ../../README ../../README.html
|
|
336 |
+ edit-changelog "Opening changelog" ../README ../../README ../../README.html
|
|
332 | 337 |
rm -f -- ./*~ ../*~ ../../*~ ./"#"*"#" ../"#"*"#" ../../"#"*"#"
|
333 | 338 |
fi
|
334 | 339 |
|