Browse Source

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

pull/927/head
Ulf Jasper 4 months ago
parent
commit
d88d8b3388

+ 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