Replace /bin/bash with /usr/bin/env bash
the build was successful Details

This commit is contained in:
Ulf Jasper 2019-05-23 21:13:50 +02:00
parent 65dfcffa43
commit d88d8b3388
31 changed files with 31 additions and 31 deletions

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

View File

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

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
[ -z "$inc_misc" ] && . "$basedir/build/misc.sh"

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Check dependencies
deperrors=''

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
inc_buildrun=true
[ -z "$inc_makerules" ] && . "$basedir/build/makerules.sh"

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
inc_filenames=true
[ -z "$inc_languages" ] && . "$basedir/build/languages.sh"

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
inc_fundraising=true
[ -z "$inc_filenames" ] && . "$basedir/build/filenames.sh"

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# lazy-ass include guard
inc_languages=true

View File

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

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
inc_makerules=true
[ -z "$inc_languages" ] && . "$basedir/build/languages.sh"

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
inc_misc=true
[ -z "$inc_logging" ] && . "$basedir/build/logging.sh"

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
basedir="${0%/*}/.."
[ -z "$inc_processor" ] && . "$basedir/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"

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
inc_scaffold=true
[ -z "$inc_xmlfiles" ] && . "$basedir/build/xmlfiles.sh"

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
inc_sources=true
[ -z "$inc_misc" ] && . "$basedir/build/misc.sh"

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
exec 2>/dev/null

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
inc_stirrups=true
[ -z "$inc_misc" ] && . "$basedir/build/misc.sh"

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
inc_translations=true
[ -z "$inc_filenames" ] && . "$basedir/build/filenames.sh"

View File

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

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

View File

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

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

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`

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

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

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

View File

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

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.

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.

View File

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

View File

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