Browse Source

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>
master
Magnus Enger 2 months ago
committed by Tomas Cohen Arazi
parent
commit
6a0cd4cc5e
Signed by: tomascohen GPG Key ID: 0A272EA1B2F3C15F
  1. 2
      admin/background_jobs.pl
  2. 2
      admin/cities.pl
  3. 2
      admin/classsources.pl
  4. 2
      admin/credit_types.pl
  5. 2
      admin/curbside_pickup.pl
  6. 2
      admin/debit_types.pl
  7. 2
      admin/desks.pl
  8. 2
      admin/library_groups.pl
  9. 2
      admin/matching-rules.pl
  10. 2
      admin/patron-attr-types.pl
  11. 2
      circ/curbside_pickups.pl
  12. 2
      erm/erm.pl
  13. 2
      misc/add_statistics_borrowers_categorycode.pl
  14. 2
      misc/cronjobs/delete_items.pl
  15. 2
      misc/maintenance/check_syspref_cache.pl
  16. 2
      misc/maintenance/compare_es_to_db.pl

2
admin/background_jobs.pl

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

2
admin/cities.pl

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

2
admin/classsources.pl

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

2
admin/credit_types.pl

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

2
admin/curbside_pickup.pl

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

2
admin/debit_types.pl

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

2
admin/desks.pl

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

2
admin/library_groups.pl

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

2
admin/matching-rules.pl

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

2
admin/patron-attr-types.pl

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

2
circ/curbside_pickups.pl

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

2
erm/erm.pl

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

2
misc/add_statistics_borrowers_categorycode.pl

@ -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

2
misc/cronjobs/delete_items.pl

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

2
misc/maintenance/check_syspref_cache.pl

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

2
misc/maintenance/compare_es_to_db.pl

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

Loading…
Cancel
Save