Commit ccf58807 authored by Matthias Fechner's avatar Matthias Fechner

Fix the shebang line for bash.

Not all systems having bash in `/bin`.
Use ´/usr/bin/env` to search for bash in `PATH`.
parent 5c94a189
#!/bin/bash
#!/usr/bin/env bash
cd $(dirname $0)/..
......
#!/bin/bash
#!/usr/bin/env bash
cd $(dirname $0)/..
app_root=$(pwd)
......
#!/bin/bash
#!/usr/bin/env bash
cd $(dirname $0)/..
app_root=$(pwd)
......
#!/bin/bash
#!/usr/bin/env bash
# Clean up cached files that are older than 4 days
find tmp/cache/assets/sprockets/ -type f -mtime +4 -execdir rm -- "{}" \;
......
#!/bin/bash
#!/usr/bin/env bash
psql -h postgres -U postgres postgres <<EOF
CREATE USER gitlab;
......
#!/bin/bash
#!/usr/bin/env bash
psql -h postgres -U postgres gitlabhq_geo_test <<EOF
CREATE EXTENSION postgres_fdw;
......
#!/bin/bash
#!/usr/bin/env bash
source scripts/utils.sh
......
#!/bin/bash
#!/usr/bin/env bash
function retrieve_tests_metadata() {
mkdir -p knapsack/ rspec_flaky/ rspec_profiling/
......
......@@ -19,7 +19,7 @@ end
HOOK_PATH = File.expand_path("../.git/hooks/pre-push", __dir__)
HOOK_DATA = <<~HOOK
#!/bin/bash
#!/usr/bin/env bash
set -e
......
#!/bin/bash
#!/usr/bin/env bash
# http://redsymbol.net/articles/unofficial-bash-strict-mode/
IFS=$'\n\t'
set -euo pipefail
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment