From 751cfe0b29079aaeda2c900cd42ed8ffbca92090 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Tue, 17 Oct 2023 10:35:38 -0400 Subject: [PATCH] Use consistent shebangs in scripts --- build-and-deploy.sh | 2 +- build-stable-deb.sh | 2 +- build-unstable-deb.sh | 2 +- gen-api-migrations | 2 +- gen-zk-migrations | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/build-and-deploy.sh b/build-and-deploy.sh index 23c617f2..62e8a06b 100755 --- a/build-and-deploy.sh +++ b/build-and-deploy.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # A useful script for testing out changes to PVC by building the debs and deploying them out to a # set of hosts automatically, including restarting the daemon (with a pause between) on the remote diff --git a/build-stable-deb.sh b/build-stable-deb.sh index 47a4077a..faaf5ea2 100755 --- a/build-stable-deb.sh +++ b/build-stable-deb.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env bash pushd $( git rev-parse --show-toplevel ) &>/dev/null ver="$( head -1 debian/changelog | awk -F'[()-]' '{ print $2 }' )" git pull diff --git a/build-unstable-deb.sh b/build-unstable-deb.sh index cb67ba1d..cce15a09 100755 --- a/build-unstable-deb.sh +++ b/build-unstable-deb.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env bash set -o xtrace exec 3>&1 exec 1>&2 diff --git a/gen-api-migrations b/gen-api-migrations index be0fb733..15fd2828 100755 --- a/gen-api-migrations +++ b/gen-api-migrations @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Generate the database migration files diff --git a/gen-zk-migrations b/gen-zk-migrations index 17a7b95b..f484aa40 100755 --- a/gen-zk-migrations +++ b/gen-zk-migrations @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Generate the Zookeeper migration files