metafiles: cd into repo if this isn't done already
This commit is contained in:
parent
cf4ddd4f99
commit
8016833a5b
1 changed files with 3 additions and 0 deletions
|
@ -142,6 +142,9 @@ task_update() {
|
||||||
}
|
}
|
||||||
|
|
||||||
task_metafiles() {
|
task_metafiles() {
|
||||||
|
if [[ "$(basename "${PWD}")" != "$(basename "${dir_repo}")" ]]; then
|
||||||
|
cd "${dir_repo}";
|
||||||
|
fi
|
||||||
task_begin "Building packages file";
|
task_begin "Building packages file";
|
||||||
apt-ftparchive packages . >Packages;
|
apt-ftparchive packages . >Packages;
|
||||||
execute bzip2 -kf Packages;
|
execute bzip2 -kf Packages;
|
||||||
|
|
Loading…
Reference in a new issue