From: Riku Voipio Date: Thu, 16 Apr 2015 13:42:46 +0000 (+0300) Subject: deb-pkg: move setting debarch for a separate function X-Git-Tag: omap-for-v4.3/fixes-rc1~65^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dca0c0246fb739bccdd19ff2bfd0f02ccffdb07c;p=pandora-kernel.git 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 Signed-off-by: Michal Marek --- Reading git-diff-tree failed