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

Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 6a0cd4cc5e)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Magnus Enger 2023-02-09 08:57:25 +01:00 committed by Martin Renvoize
parent 39768ca44d
commit 241c35c00d
Signed by: martin.renvoize
GPG key ID: 422B469130441A0F
16 changed files with 16 additions and 16 deletions

View file

@ -1,4 +1,4 @@
#! /usr/bin/perl
#!/usr/bin/perl
# This file is part of Koha.
#

View file

@ -1,4 +1,4 @@
#! /usr/bin/perl
#!/usr/bin/perl
# Copyright 2006 SAN OUEST-PROVENCE et Paul POULAIN
# Copyright 2015 Koha Development Team

View file

@ -1,4 +1,4 @@
#! /usr/bin/perl
#!/usr/bin/perl
#
# Copyright 2007 LibLime
# Copyright 2018 Koha Development Team

View file

@ -1,4 +1,4 @@
#! /usr/bin/perl
#!/usr/bin/perl
# Copyright 2020 Koha Development Team
#

View file

@ -1,4 +1,4 @@
#! /usr/bin/perl
#!/usr/bin/perl
# This file is part of Koha.
#

View file

@ -1,4 +1,4 @@
#! /usr/bin/perl
#!/usr/bin/perl
# Copyright 2019 Koha Development Team
#

View file

@ -1,4 +1,4 @@
#! /usr/bin/perl
#!/usr/bin/perl
# Copyright (C) 2020 BULAC
#

View file

@ -1,4 +1,4 @@
#! /usr/bin/perl
#!/usr/bin/perl
# Copyright 2016 ByWater Solutions
#

View file

@ -1,4 +1,4 @@
#! /usr/bin/perl
#!/usr/bin/perl
#
# Copyright 2007 LibLime
#

View file

@ -1,4 +1,4 @@
#! /usr/bin/perl
#!/usr/bin/perl
#
# Copyright 2008 LibLime
# Parts copyright 2010 BibLibre

View file

@ -1,4 +1,4 @@
#! /usr/bin/perl
#!/usr/bin/perl
# This file is part of Koha.
#

View file

@ -1,4 +1,4 @@
#! /usr/bin/perl
#!/usr/bin/perl
# This file is part of Koha.
#

View file

@ -1,4 +1,4 @@
#! /usr/bin/perl
#!/usr/bin/perl
## EXTRACTED USING THIS:
# grep -Pnir "'notforloan' => '6'" 01_items0* | grep -Po "'id' => '-?(\d+)'" | grep -Po "\d+" > itemnumbers_notforloan_6.txt

View file

@ -1,4 +1,4 @@
#! /usr/bin/perl
#!/usr/bin/perl
# This file is part of Koha.
#

View file

@ -1,4 +1,4 @@
#! /usr/bin/perl
#!/usr/bin/perl
# This file is part of Koha.
#

View file

@ -1,4 +1,4 @@
#! /usr/bin/perl
#!/usr/bin/perl
#
# This compares record counts from a Koha database to Elasticsearch