chore: update all bash scripts to use shebang: /usr/bin/env bash (#779)

This commit is contained in:
ryannikolaidis 2023-06-20 16:00:55 -07:00 committed by GitHub
parent c53ce117bc
commit e08936b6fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 11 additions and 11 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -euo pipefail
DOCKER_REPOSITORY="${DOCKER_REPOSITORY:-quay.io/unstructured-io/unstructured}"

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Start the containerized repository and run ingest tests

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Mainly used for installing pandoc on CI
set -euo pipefail

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# This is intended solely to be called by scripts/performance/benchmark.sh.
# This file is separated out to allow us to easily execute this part of the test script inside a Docker container.

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Usage:
# - Set the required environment variables (listed below)

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# get a string representing the system stats. we should be able to infer
# this from aws types, but this guarantees we have the info we need in all cases

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Performance profiling and visualization of code using cProfile and memray.

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set +u
if [ -z "$1" ]; then

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set +u
if [ -z "$1" ]; then

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
find scripts -name "*.sh" -exec shellcheck {} +

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
function usage {
echo "Usage: $(basename "$0") [-c] -f FILE_TO_CHANGE REPLACEMENT_FORMAT [-f FILE_TO_CHANGE REPLACEMENT_FORMAT ...]" 2>&1
echo 'Synchronize files to latest version in source file'