Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • scripts
  • package
  • builddeb
Find file BlameHistoryPermalink
  • Riku Voipio's avatar
    deb-pkg: move setting debarch for a separate function · dca0c024
    Riku Voipio authored Apr 16, 2015
    
    
    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: default avatarRiku Voipio <riku.voipio@linaro.org>
    Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
    dca0c024
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7