Commit eb33305a authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'fix/shebang' into 'master'

Fix/shebang

See merge request gitlab-org/gitlab!32371
parents 2e4a8457 ccf58807
#!/bin/bash #!/usr/bin/env bash
cd $(dirname $0)/.. cd $(dirname $0)/..
......
#!/bin/bash #!/usr/bin/env bash
cd $(dirname $0)/.. cd $(dirname $0)/..
app_root=$(pwd) app_root=$(pwd)
......
#!/bin/bash #!/usr/bin/env bash
cd $(dirname $0)/.. cd $(dirname $0)/..
app_root=$(pwd) app_root=$(pwd)
......
#!/bin/bash #!/usr/bin/env bash
# Clean up cached files that are older than 4 days # Clean up cached files that are older than 4 days
find tmp/cache/assets/sprockets/ -type f -mtime +4 -execdir rm -- "{}" \; find tmp/cache/assets/sprockets/ -type f -mtime +4 -execdir rm -- "{}" \;
......
#!/bin/bash #!/usr/bin/env bash
psql -h postgres -U postgres postgres <<EOF psql -h postgres -U postgres postgres <<EOF
CREATE USER gitlab; CREATE USER gitlab;
......
#!/bin/bash #!/usr/bin/env bash
psql -h postgres -U postgres gitlabhq_geo_test <<EOF psql -h postgres -U postgres gitlabhq_geo_test <<EOF
CREATE EXTENSION postgres_fdw; CREATE EXTENSION postgres_fdw;
......
#!/bin/bash #!/usr/bin/env bash
source scripts/utils.sh source scripts/utils.sh
......
#!/bin/bash #!/usr/bin/env bash
function retrieve_tests_metadata() { function retrieve_tests_metadata() {
mkdir -p knapsack/ rspec_flaky/ rspec_profiling/ mkdir -p knapsack/ rspec_flaky/ rspec_profiling/
......
...@@ -19,7 +19,7 @@ end ...@@ -19,7 +19,7 @@ end
HOOK_PATH = File.expand_path("../.git/hooks/pre-push", __dir__) HOOK_PATH = File.expand_path("../.git/hooks/pre-push", __dir__)
HOOK_DATA = <<~HOOK HOOK_DATA = <<~HOOK
#!/bin/bash #!/usr/bin/env bash
set -e set -e
......
#!/bin/bash #!/usr/bin/env bash
# http://redsymbol.net/articles/unofficial-bash-strict-mode/ # http://redsymbol.net/articles/unofficial-bash-strict-mode/
IFS=$'\n\t' IFS=$'\n\t'
set -euo pipefail 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