Add -eu to all bash shebangs

ansible requires to either use "#!/bin/bash -eu" or "#!/bin/bash -eux"
for bash shebangs.
This commit is contained in:
Thomas Woerner
2023-05-04 17:00:17 +02:00
parent f056775d95
commit 2882e2426a
10 changed files with 10 additions and 10 deletions

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/bash -eu
master=$1
if [ -z "$master" ]; then

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/bash -eu
NUM=${1-1000}
FILE="groups.json"

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/bash -eu
TOPDIR=$(readlink -f "$(dirname "$0")/../..")
pushd "${TOPDIR}" >/dev/null || exit 1

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/bash -eu
NUM=${1-1000}
FILE="users.json"

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/bash -eu
NUM=1000
FILE="users_absent.json"

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/bash -eu
#
# Build Ansible Collection from ansible-freeipa repo
#

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/bash -eu
git_version=$(git describe --tags | sed -e "s/^v//")
version=${git_version%%-*}

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/bash -eu
for i in roles/ipa*/*/*.py; do
python utils/gen_module_docs.py "$i"

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/bash -eu
INFO="\033[37;1m"
WARN="\033[33;1m"

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/bash -eu
# -*- coding: utf-8 -*-
# Authors: