mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-07-25 00:44:42 +00:00
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:
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash -eu
|
||||||
|
|
||||||
master=$1
|
master=$1
|
||||||
if [ -z "$master" ]; then
|
if [ -z "$master" ]; then
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash -eu
|
||||||
|
|
||||||
NUM=${1-1000}
|
NUM=${1-1000}
|
||||||
FILE="groups.json"
|
FILE="groups.json"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash -eu
|
||||||
|
|
||||||
TOPDIR=$(readlink -f "$(dirname "$0")/../..")
|
TOPDIR=$(readlink -f "$(dirname "$0")/../..")
|
||||||
pushd "${TOPDIR}" >/dev/null || exit 1
|
pushd "${TOPDIR}" >/dev/null || exit 1
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash -eu
|
||||||
|
|
||||||
NUM=${1-1000}
|
NUM=${1-1000}
|
||||||
FILE="users.json"
|
FILE="users.json"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash -eu
|
||||||
|
|
||||||
NUM=1000
|
NUM=1000
|
||||||
FILE="users_absent.json"
|
FILE="users_absent.json"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash -eu
|
||||||
#
|
#
|
||||||
# Build Ansible Collection from ansible-freeipa repo
|
# Build Ansible Collection from ansible-freeipa repo
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash -eu
|
||||||
|
|
||||||
git_version=$(git describe --tags | sed -e "s/^v//")
|
git_version=$(git describe --tags | sed -e "s/^v//")
|
||||||
version=${git_version%%-*}
|
version=${git_version%%-*}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash -eu
|
||||||
|
|
||||||
for i in roles/ipa*/*/*.py; do
|
for i in roles/ipa*/*/*.py; do
|
||||||
python utils/gen_module_docs.py "$i"
|
python utils/gen_module_docs.py "$i"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash -eu
|
||||||
|
|
||||||
INFO="\033[37;1m"
|
INFO="\033[37;1m"
|
||||||
WARN="\033[33;1m"
|
WARN="\033[33;1m"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash -eu
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
# Authors:
|
# Authors:
|
||||||
|
|||||||
Reference in New Issue
Block a user