Skip to content

Commit

Permalink
Set scripts to use bash
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholaskuechler committed Apr 26, 2024
1 parent 053d226 commit 15e451c
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion scripts/gen-os-secrets.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash -e

if [ $# -ne 1 ]; then
echo "$(basename "$0") <output-file>" >&2
Expand Down
2 changes: 1 addition & 1 deletion scripts/gitops-deploy.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash -e

usage() {
echo "$(basename "$0") <deploy.env>" >&2
Expand Down
2 changes: 1 addition & 1 deletion scripts/gitops-secrets-gen.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash -e

function usage() {
echo "$(basename "$0") <deploy.env>" >&2
Expand Down
2 changes: 1 addition & 1 deletion scripts/openstack-helm-depend-sync.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/sh
#!/bin/bash -e

cd $(git rev-parse --show-toplevel)/openstack-helm && helm dep up "$1"
2 changes: 1 addition & 1 deletion scripts/openstack-helm-sealed-secrets.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -x
#!/bin/bash -ex

# function to process each YAML file
process_yaml() {
Expand Down
2 changes: 1 addition & 1 deletion scripts/pwgen.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh -e
#!/bin/bash -e

export LC_ALL=C
dd bs=512 if=/dev/urandom count=1 | tr -dc _A-Z-a-z-0-9 | head -c${1:-32}
Expand Down

0 comments on commit 15e451c

Please sign in to comment.