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
  • gen-diff-patch
Find file BlameHistoryPermalink
  • Masahiro Yamada's avatar
    kbuild: package: add -e and -u options to some shell scripts · c0414419
    Masahiro Yamada authored Jul 03, 2024
    Set -e to make these scripts fail on the first error.
    
    Set -u because these scripts are invoked by Makefile, and do not work
    properly without necessary variables defined.
    
    I tweaked mkdebian to cope with optional environment variables.
    
    Remove the explicit "test -n ..." from install-extmod-build.
    
    Both options are described in POSIX. [1]
    
    [1]: https://pubs.opengroup.org/onlinepubs/009604499/utilities/set.html
    
    
    
    Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
    Reviewed-by: default avatarNicolas Schier <nicolas@fjasle.eu>
    c0414419
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7