diff --git a/artifactserver/tools/get_workspace_status.sh b/artifactserver/tools/get_workspace_status.sh index 8c4c9c343b2..7e38934f645 100755 --- a/artifactserver/tools/get_workspace_status.sh +++ b/artifactserver/tools/get_workspace_status.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright 2018 The Kubernetes Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/dns/check-zone.sh b/dns/check-zone.sh index 041a1ef5ed6..72c73fc8847 100755 --- a/dns/check-zone.sh +++ b/dns/check-zone.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env bash # # This runs as you. It assumes you have built an image named ${USER}/octodns. # It also requires working gcloud credentials diff --git a/dns/push.sh b/dns/push.sh index b0bc9c0b23a..7d553bf14ca 100755 --- a/dns/push.sh +++ b/dns/push.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env bash # This runs as you. It assumes you have built an image named ${USER}/octodns. diff --git a/k8s.gcr.io/ensure-prod-repo.sh b/k8s.gcr.io/ensure-prod-repo.sh index 531d3f544a6..811236774fa 100755 --- a/k8s.gcr.io/ensure-prod-repo.sh +++ b/k8s.gcr.io/ensure-prod-repo.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env bash # # Copyright 2019 The Kubernetes Authors. # diff --git a/k8s.gcr.io/ensure-staging-repo.sh b/k8s.gcr.io/ensure-staging-repo.sh index 809b6b26bf3..7d89c0e5fb0 100755 --- a/k8s.gcr.io/ensure-staging-repo.sh +++ b/k8s.gcr.io/ensure-staging-repo.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env bash # # Copyright 2019 The Kubernetes Authors. # diff --git a/k8s.gcr.io/lib.sh b/k8s.gcr.io/lib.sh index 1011991f8de..6e166deb27f 100755 --- a/k8s.gcr.io/lib.sh +++ b/k8s.gcr.io/lib.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env bash # # Copyright 2019 The Kubernetes Authors. # diff --git a/k8s.io/canary.sh b/k8s.io/canary.sh index 544614ed30a..f1139044cf1 100755 --- a/k8s.io/canary.sh +++ b/k8s.io/canary.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -o errexit set -o nounset