Portable bash shebang

Signed-off-by: Filip Czaplicki <git@starsep.com>
This commit is contained in:
Filip Czaplicki
2025-07-20 12:28:07 +02:00
committed by Konstantin Pastbin
parent dbfb0d5e0b
commit 0971c47e84
15 changed files with 15 additions and 15 deletions

View File

@@ -34,7 +34,7 @@ whole planet is also applicable.
The last three steps may be expressed as the following shell script:
```bash
#!/bin/bash
#!/usr/bin/env bash
set -e
REPO="/path/to/cloned/repo"

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
PROJECT=$1
VERSION=$2
RELEASE=$3

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Downloads all maps necessary for learning to rank to the current
# directory.

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e -u
# If CMAKE variable is set, use it

View File

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

View File

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

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e -u
# Prevent python from generating compiled *.pyc files

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e -u -x
OMIM_PATH="${OMIM_PATH:-$(dirname "$0")/../..}"

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e -u
SCRIPTS_PATH="$(dirname "$0")"
"$SCRIPTS_PATH/generate_symbols.sh"

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e -u
# Prevent python from generating compiled *.pyc files

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e -u -o pipefail
# Generate subways.transit.json file consumed by the maps generator.

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -u -x -e

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#####################################################
# Tests a planet build made with generate_planet.sh #
#####################################################

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Concatenates Android release notes in all languages into a single output format
# suitable to upload to Google Play to update existing notes.

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Should be used everywhere to generate a consistent version number based
# on the date of the last commit and a number of commits on that day.
set -euo pipefail