Browse Source

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

NEWPDFREADERS
Ulf Jasper 1 month ago
parent
commit
d88d8b3388

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

@@ -12,7 +12,7 @@ pdfs_0 := $(leafletsources:.xhtml=.0.pdf)
12 12
 all: printable.en.xml $(pdfs_F) $(pdfs_G) $(pdfs_0)
13 13
 
14 14
 printable.en.xml: $(leafletsources) mk-printable-en-xml.sh get_h1.xsl get_moreinfo.xsl
15
-	/bin/bash mk-printable-en-xml.sh $(leafletsources)
15
+	/usr/bin/env bash mk-printable-en-xml.sh $(leafletsources)
16 16
 
17 17
 %.F.pdf: %.xhtml mk-tex-a3.xsl
18 18
 	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 @@
1
-#!/bin/bash
1
+#!/usr/bin/env bash
2 2
 # -----------------------------------------------------------------------------
3 3
 # Script to rebuild printable.en.xml
4 4
 # -----------------------------------------------------------------------------

+ 1
- 1
build/arguments.sh View File

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

+ 1
- 1
build/build_main.sh View File

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

+ 1
- 1
build/buildrun.sh View File

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

+ 1
- 1
build/filenames.sh View File

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

+ 1
- 1
build/fundraising.sh View File

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

+ 1
- 1
build/languages.sh View File

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

+ 1
- 1
build/logging.sh View File

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

+ 1
- 1
build/makerules.sh View File

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

+ 1
- 1
build/misc.sh View File

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

+ 1
- 1
build/process_file.sh View File

@@ -1,4 +1,4 @@
1
-#!/bin/bash
1
+#!/usr/bin/env bash
2 2
 
3 3
 basedir="${0%/*}/.."
4 4
 [ -z "$inc_processor" ] && . "$basedir/build/processor.sh"

+ 1
- 1
build/processor.sh View File

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

+ 1
- 1
build/scaffold.sh View File

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

+ 1
- 1
build/sources.sh View File

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

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

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

+ 1
- 1
build/stirrups.sh View File

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

+ 1
- 1
build/translations.sh View File

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

+ 1
- 1
build/xmlfiles.sh View File

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

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

@@ -1,4 +1,4 @@
1
-#!/bin/bash
1
+#!/usr/bin/env bash
2 2
 
3 3
 # This script makes it easier to update the PDFreaders signatures.
4 4
 # 1. Save the automatically sent emails (subject: [PDFReaders] petition 

+ 1
- 1
cgi-bin/odtfill View File

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

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

@@ -1,4 +1,4 @@
1
-#/bin/bash
1
+#!/usr/bin/env bash
2 2
 
3 3
 # checks whether there non-EN items appear on the FSFE front-page, which is undesired
4 4
 

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

@@ -1,4 +1,4 @@
1
-#!/bin/bash
1
+#!/usr/bin/env bash
2 2
 
3 3
 A=$(echo $1 | sed 's/\.[a-z][a-z]\.xhtml//')
4 4
 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 @@
1
-#!/bin/bash
1
+#!/usr/bin/env bash
2 2
 # This file takes a .pot file and makes the xhtml
3 3
 set -e
4 4
 set -o pipefail

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

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

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

@@ -1,4 +1,4 @@
1
-#!/bin/bash
1
+#!/usr/bin/env bash
2 2
 
3 3
 # This hook runs is supposed to run server-side in the repository and will reject commit with faulty XML syntax.
4 4
 # Client-side linting is recommended though

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

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

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

@@ -1,4 +1,4 @@
1
-#!/bin/bash
1
+#!/usr/bin/env bash
2 2
 
3 3
 # This script is called by build.sh to create the translation log html
4 4
 # files from the translations.log file created by build.pl.

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

@@ -1,4 +1,4 @@
1
-#!/bin/bash
1
+#!/usr/bin/env bash
2 2
 
3 3
 # This script is called by build.sh to create the translation log html
4 4
 # files from the translations.log file created by build.pl.

+ 1
- 1
tools/update_stylesheets.sh View File

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

+ 1
- 1
tools/update_xmllists.sh View File

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

Loading…
Cancel
Save