diff --git a/build_phases/swiftformat b/build_phases/swiftformat index f7e78802..abbc3bda 100755 --- a/build_phases/swiftformat +++ b/build_phases/swiftformat @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash swiftformat --indent 2 CouchTracker/ swiftformat --indent 2 CouchTrackerApp/ diff --git a/ci/master.sh b/ci/master.sh index fea7d477..3fc4be33 100755 --- a/ci/master.sh +++ b/ci/master.sh @@ -1,3 +1,3 @@ -#!/bin/bash +#!/usr/bin/env bash bundle exec fastlane beta diff --git a/ci/pull_request.sh b/ci/pull_request.sh index 4261682f..65c76b65 100755 --- a/ci/pull_request.sh +++ b/ci/pull_request.sh @@ -1,3 +1,3 @@ -#!/bin/bash +#!/usr/bin/env bash -bundle exec fastlane lint \ No newline at end of file +bundle exec fastlane lint diff --git a/ci/travis.sh b/ci/travis.sh index 261fe61c..8ddb46b9 100755 --- a/ci/travis.sh +++ b/ci/travis.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then echo "Running pull_request.sh" diff --git a/scripts/generate_secrets b/scripts/generate_secrets index a170a205..eb1171b7 100755 --- a/scripts/generate_secrets +++ b/scripts/generate_secrets @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash SCRIPTS_DIR=$(cd "$(dirname "$0")" || exit 1; pwd) SECRETS_FILE="${SCRIPTS_DIR}/../CouchTrackerApp/Utils/Secrets.swift" diff --git a/scripts/update_translations b/scripts/update_translations index 08cad4fe..5469e432 100755 --- a/scripts/update_translations +++ b/scripts/update_translations @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash SCRIPTS_DIR=$(cd "$(dirname "$0")" || exit 1; pwd) COUCH_TRACKER_CORE_DIR=$(cd "$SCRIPTS_DIR"/../CouchTrackerCore || exit 1; pwd) diff --git a/setup.sh b/setup.sh index 5a89e468..0944e9f7 100755 --- a/setup.sh +++ b/setup.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash function clone_dependency() { if [ ! -d "vendor/$1" ]; then