diff --git a/keyserver/bash/backup-phabricator.sh b/keyserver/bash/backup-phabricator.sh --- a/keyserver/bash/backup-phabricator.sh +++ b/keyserver/bash/backup-phabricator.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # run as: ssh user on root wheel # run from: wherever diff --git a/keyserver/bash/deploy.sh b/keyserver/bash/deploy.sh --- a/keyserver/bash/deploy.sh +++ b/keyserver/bash/deploy.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # run as: ssh user on root wheel # run from: wherever diff --git a/keyserver/bash/run-prod.sh b/keyserver/bash/run-prod.sh --- a/keyserver/bash/run-prod.sh +++ b/keyserver/bash/run-prod.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # run as: node user # run from: keyserver dir diff --git a/keyserver/bash/setup.sh b/keyserver/bash/setup.sh --- a/keyserver/bash/setup.sh +++ b/keyserver/bash/setup.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # run as: node user # run from: root of repo diff --git a/keyserver/bash/source-nvm.sh b/keyserver/bash/source-nvm.sh --- a/keyserver/bash/source-nvm.sh +++ b/keyserver/bash/source-nvm.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # source as: logged in user # source from: package.json (via npm/yarn scripts) diff --git a/services/scripts/build_base_image.sh b/services/scripts/build_base_image.sh --- a/services/scripts/build_base_image.sh +++ b/services/scripts/build_base_image.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -e diff --git a/services/scripts/list_services.sh b/services/scripts/list_services.sh --- a/services/scripts/list_services.sh +++ b/services/scripts/list_services.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -e diff --git a/services/scripts/run_all_services.sh b/services/scripts/run_all_services.sh --- a/services/scripts/run_all_services.sh +++ b/services/scripts/run_all_services.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -e diff --git a/services/scripts/run_server_image.sh b/services/scripts/run_server_image.sh --- a/services/scripts/run_server_image.sh +++ b/services/scripts/run_server_image.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -e diff --git a/services/scripts/test_all_services.sh b/services/scripts/test_all_services.sh --- a/services/scripts/test_all_services.sh +++ b/services/scripts/test_all_services.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -e diff --git a/services/scripts/test_service.sh b/services/scripts/test_service.sh --- a/services/scripts/test_service.sh +++ b/services/scripts/test_service.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -e