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
You need to sign in or sign up before continuing.
  • linux
  • scripts
  • Makefile.lib
Find file BlameHistoryPermalink
  • Masahiro Yamada's avatar
    kbuild: add comment about why cmd_shipped uses 'cat' · 3787b7da
    Masahiro Yamada authored Apr 24, 2021
    cmd_shipped uses 'cat' instead of 'cp' for copying a file. The reason
    is explained in the commit [1], but it was in the pre-git era.
    
      $ touch a
      $ chmod -w a
      $ cp a b
      $ cp a b
      cp: cannot create regular file 'b': Permission denied
    
    Add comments so that you can see the reason without looking into
    the history.
    
    [1]: https://git.kernel.org/pub/scm/linux/kernel/git/history/history.git/commit/?id=a70dba8086160449cc94c5bdaff78419b6b8e3c8
    
    
    
    Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
    3787b7da
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7