Browse Source

Replace /bin/bash with /usr/bin/env bash

pull/927/head
Ulf Jasper 1 year ago
parent
commit
d88d8b3388
31 changed files with 31 additions and 31 deletions
  1. +1
    -1
      about/printable/archive/Makefile
  2. +1
    -1
      about/printable/archive/mk-printable-en-xml.sh
  3. +1
    -1
      build/arguments.sh
  4. +1
    -1
      build/build_main.sh
  5. +1
    -1
      build/buildrun.sh
  6. +1
    -1
      build/filenames.sh
  7. +1
    -1
      build/fundraising.sh
  8. +1
    -1
      build/languages.sh
  9. +1
    -1
      build/logging.sh
  10. +1
    -1
      build/makerules.sh
  11. +1
    -1
      build/misc.sh
  12. +1
    -1
      build/process_file.sh
  13. +1
    -1
      build/processor.sh
  14. +1
    -1
      build/scaffold.sh
  15. +1
    -1
      build/sources.sh
  16. +1
    -1
      build/status.html.sh
  17. +1
    -1
      build/stirrups.sh
  18. +1
    -1
      build/translations.sh
  19. +1
    -1
      build/xmlfiles.sh
  20. +1
    -1
      campaigns/pdfreaders/petition-sig-add.sh
  21. +1
    -1
      cgi-bin/odtfill
  22. +1
    -1
      tools/check-non-en-frontpage.sh
  23. +1
    -1
      tools/check-translation-status.sh
  24. +1
    -1
      tools/convert-po-to-xhtml.sh
  25. +1
    -1
      tools/convert-xhtml-to-po.sh
  26. +1
    -1
      tools/githooks/pre-receive
  27. +1
    -1
      tools/make-outdated-list.sh
  28. +1
    -1
      tools/translation-log-test.sh
  29. +1
    -1
      tools/translation-log.sh
  30. +1
    -1
      tools/update_stylesheets.sh
  31. +1
    -1
      tools/update_xmllists.sh

+ 1
- 1
about/printable/archive/Makefile View File

@@ -12,7 +12,7 @@ pdfs_0 := $(leafletsources:.xhtml=.0.pdf)
all: printable.en.xml $(pdfs_F) $(pdfs_G) $(pdfs_0)

printable.en.xml: $(leafletsources) mk-printable-en-xml.sh get_h1.xsl get_moreinfo.xsl
/bin/bash mk-printable-en-xml.sh $(leafletsources)
/usr/bin/env bash mk-printable-en-xml.sh $(leafletsources)

%.F.pdf: %.xhtml mk-tex-a3.xsl
xsltproc --stringparam language $(subst .,,$(suffix $*)) mk-tex-a3.xsl $< | sed -e 's/ /~/' > $*.F.tex


+ 1
- 1
about/printable/archive/mk-printable-en-xml.sh View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# -----------------------------------------------------------------------------
# Script to rebuild printable.en.xml
# -----------------------------------------------------------------------------


+ 1
- 1
build/arguments.sh View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

[ -z "$inc_misc" ] && . "$basedir/build/misc.sh"



+ 1
- 1
build/build_main.sh View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Check dependencies
deperrors=''


+ 1
- 1
build/buildrun.sh View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

inc_buildrun=true
[ -z "$inc_makerules" ] && . "$basedir/build/makerules.sh"


+ 1
- 1
build/filenames.sh View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

inc_filenames=true
[ -z "$inc_languages" ] && . "$basedir/build/languages.sh"


+ 1
- 1
build/fundraising.sh View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

inc_fundraising=true
[ -z "$inc_filenames" ] && . "$basedir/build/filenames.sh"


+ 1
- 1
build/languages.sh View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# lazy-ass include guard
inc_languages=true


+ 1
- 1
build/logging.sh View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

inc_logging=true



+ 1
- 1
build/makerules.sh View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

inc_makerules=true
[ -z "$inc_languages" ] && . "$basedir/build/languages.sh"


+ 1
- 1
build/misc.sh View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

inc_misc=true
[ -z "$inc_logging" ] && . "$basedir/build/logging.sh"


+ 1
- 1
build/process_file.sh View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

basedir="${0%/*}/.."
[ -z "$inc_processor" ] && . "$basedir/build/processor.sh"


+ 1
- 1
build/processor.sh View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

inc_processor=true
[ -z "$inc_filenames" ] && . "$basedir/build/filenames.sh"


+ 1
- 1
build/scaffold.sh View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

inc_scaffold=true
[ -z "$inc_xmlfiles" ] && . "$basedir/build/xmlfiles.sh"


+ 1
- 1
build/sources.sh View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

inc_sources=true
[ -z "$inc_misc" ] && . "$basedir/build/misc.sh"


+ 1
- 1
build/status.html.sh View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

exec 2>/dev/null



+ 1
- 1
build/stirrups.sh View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

inc_stirrups=true
[ -z "$inc_misc" ] && . "$basedir/build/misc.sh"


+ 1
- 1
build/translations.sh View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

inc_translations=true
[ -z "$inc_filenames" ] && . "$basedir/build/filenames.sh"


+ 1
- 1
build/xmlfiles.sh View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

inc_xmlfiles=true



+ 1
- 1
campaigns/pdfreaders/petition-sig-add.sh View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# This script makes it easier to update the PDFreaders signatures.
# 1. Save the automatically sent emails (subject: [PDFReaders] petition


+ 1
- 1
cgi-bin/odtfill View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# ==============================================================================
# Fill in placeholder fields in an ODT file
# ==============================================================================


+ 1
- 1
tools/check-non-en-frontpage.sh View File

@@ -1,4 +1,4 @@
#/bin/bash
#!/usr/bin/env bash

# checks whether there non-EN items appear on the FSFE front-page, which is undesired



+ 1
- 1
tools/check-translation-status.sh View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

A=$(echo $1 | sed 's/\.[a-z][a-z]\.xhtml//')
originaldate=`git log --pretty="%cd" --date=raw -1 $A.en.xhtml|cut -d' ' -f1`


+ 1
- 1
tools/convert-po-to-xhtml.sh View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# This file takes a .pot file and makes the xhtml
set -e
set -o pipefail


+ 1
- 1
tools/convert-xhtml-to-po.sh View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash_
# This file takes a .en.xhtml file in output and makes the .po and .pot files.
set -e
set -o pipefail


+ 1
- 1
tools/githooks/pre-receive View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# This hook runs is supposed to run server-side in the repository and will reject commit with faulty XML syntax.
# Client-side linting is recommended though


+ 1
- 1
tools/make-outdated-list.sh View File

@@ -1,4 +1,4 @@
#! /bin/bash
#!/usr/bin/env bash
OUT=/var/www/web/translations.html
cd /srv/www/fsfe.org_git



+ 1
- 1
tools/translation-log-test.sh View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# This script is called by build.sh to create the translation log html
# files from the translations.log file created by build.pl.


+ 1
- 1
tools/translation-log.sh View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# This script is called by build.sh to create the translation log html
# files from the translations.log file created by build.pl.


+ 1
- 1
tools/update_stylesheets.sh View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# -----------------------------------------------------------------------------
# Update XSL stylesheets (*.xsl) according to their dependency
# -----------------------------------------------------------------------------


+ 1
- 1
tools/update_xmllists.sh View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# -----------------------------------------------------------------------------
# Update XML filelists (*.xmllist) and tag list pages (tags/tagged-*)
# -----------------------------------------------------------------------------


Loading…
Cancel
Save