Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
deb-pkg: move setting debarch for a separate function
create_package() function tries to resolve used architecture for everry package. Split the setting the architecture to a new function, set_debarch(), called once on startup. This allows using debarch from other parts of script as needed. v2: Follow Michals suggestion on setting variables at top scope and also setting the fallback $debarch in the new function Signed-off-by: Riku Voipio <[email protected]> Signed-off-by: Michal Marek <[email protected]>
- Loading branch information