Compare commits
2 commits
92d2b03a34
...
0024777b74
Author | SHA1 | Date | |
---|---|---|---|
0024777b74 | |||
c4c0717ecc |
1 changed files with 2 additions and 1 deletions
|
@ -145,7 +145,7 @@ task_update() {
|
||||||
|
|
||||||
task_metafiles() {
|
task_metafiles() {
|
||||||
if [[ "$(basename "${PWD}")" != "$(basename "${dir_repo}")" ]]; then
|
if [[ "$(basename "${PWD}")" != "$(basename "${dir_repo}")" ]]; then
|
||||||
cd "${dir_repo}" || { echo "Error: Failed to cd into repo"; exit 3; };
|
cd "${dir_repo}" || { echo "Error: Failed to cd into repo" >&2; exit 3; };
|
||||||
fi
|
fi
|
||||||
task_begin "Building packages file";
|
task_begin "Building packages file";
|
||||||
apt-ftparchive packages . >Packages;
|
apt-ftparchive packages . >Packages;
|
||||||
|
@ -160,6 +160,7 @@ task_metafiles() {
|
||||||
execute gpg --yes -abs -u "${gpg_key_id}" -o Release.gpg Release
|
execute gpg --yes -abs -u "${gpg_key_id}" -o Release.gpg Release
|
||||||
task_end $?;
|
task_end $?;
|
||||||
|
|
||||||
|
cd - || { echo "Error: Failed to cd back to previous directory" >&2; exit 4; };
|
||||||
tasks_run generate-summary;
|
tasks_run generate-summary;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue