Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • L linux-power
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • linux-arm
  • linux-power
  • Repository
Switch branch/tag
  • linux-power
  • scripts
  • setlocalversion
Find file BlameHistoryPermalink
  • Mikulas Patocka's avatar
    scripts/setlocalversion: fix a bug when LOCALVERSION is empty · 5df99bec
    Mikulas Patocka authored Jul 12, 2021
    The commit 042da426 ("scripts/setlocalversion: simplify the short
    version part") reduces indentation. Unfortunately, it also changes behavior
    in a subtle way - if the user has empty "LOCALVERSION" variable, the plus
    sign is appended to the kernel version. It wasn't appended before.
    
    This patch reverts to the old behavior - we append the plus sign only if
    the LOCALVERSION variable is not set.
    
    Fixes: 042da426
    
     ("scripts/setlocalversion: simplify the short version part")
    Signed-off-by: default avatarMikulas Patocka <mpatocka@redhat.com>
    Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
    5df99bec