[Koha-bugs] [Bug 32922] Remove space in shebang

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 9 09:14:34 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32922

Magnus Enger <magnus at libriotech.no> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #146416|0                           |1
        is obsolete|                            |

--- Comment #2 from Magnus Enger <magnus at libriotech.no> ---
Created attachment 146417
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=146417&action=edit
Bug 32922: Remove space in shebang

Some of our scripts have a space in the "shebang" (first) line:

  #! /usr/bin/perl

This is not illegal, and it does work, but it is good to be
consistent, so this patch removes the space.

To test:
- Run: grep -rn --include=*.pl '#! /usr/' *
- See the list of files that have a space in the shebang
- Apply the patch
- Run the command again, there should be no output, meaning there
  are no more files with space in the shebang
- Have a look at the patch and check that it only changes the
  shebangs
- Sign off

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list