Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions scripts/before-pr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
###################################
set -euo pipefail
shopt -s inherit_errexit
unset CDPATH

if ! [[ -v scriptsDir ]]; then
scriptsDir="$(cd -- "$(dirname -- "${BASH_SOURCE[0]:-$0}")" >/dev/null && pwd 2>/dev/null)"
Expand Down
1 change: 1 addition & 0 deletions scripts/check-in-bug-template.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
###################################
set -euo pipefail
shopt -s inherit_errexit
unset CDPATH

if ! [[ -v scriptsDir ]]; then
scriptsDir="$(cd -- "$(dirname -- "${BASH_SOURCE[0]:-$0}")" >/dev/null && pwd 2>/dev/null)"
Expand Down
1 change: 1 addition & 0 deletions scripts/prepare-next-dev-cycle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
###################################
set -euo pipefail
shopt -s inherit_errexit
unset CDPATH

if ! [[ -v scriptsDir ]]; then
scriptsDir="$(cd -- "$(dirname -- "${BASH_SOURCE[0]:-$0}")" >/dev/null && pwd 2>/dev/null)"
Expand Down
1 change: 1 addition & 0 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
###################################
set -euo pipefail
shopt -s inherit_errexit
unset CDPATH

if ! [[ -v scriptsDir ]]; then
scriptsDir="$(cd -- "$(dirname -- "${BASH_SOURCE[0]:-$0}")" >/dev/null && pwd 2>/dev/null)"
Expand Down
1 change: 1 addition & 0 deletions scripts/run-shellcheck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
###################################
set -euo pipefail
shopt -s inherit_errexit
unset CDPATH

if ! [[ -v scriptsDir ]]; then
scriptsDir="$(cd -- "$(dirname -- "${BASH_SOURCE[0]:-$0}")" >/dev/null && pwd 2>/dev/null)"
Expand Down
1 change: 1 addition & 0 deletions scripts/update-docu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
###################################
set -euo pipefail
shopt -s inherit_errexit
unset CDPATH

if ! [[ -v dir_of_tegonal_scripts ]]; then
dir_of_tegonal_scripts="$(cd -- "$(dirname -- "${BASH_SOURCE[0]:-$0}")" >/dev/null && pwd 2>/dev/null)/../src"
Expand Down
1 change: 1 addition & 0 deletions src/qa/run-shellcheck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
###################################
set -euo pipefail
shopt -s inherit_errexit
unset CDPATH

if ! [[ -v dir_of_tegonal_scripts ]]; then
dir_of_tegonal_scripts="$(cd -- "$(dirname -- "${BASH_SOURCE[0]:-$0}")" >/dev/null && pwd 2>/dev/null)/.."
Expand Down
1 change: 1 addition & 0 deletions src/releasing/prepare-files-next-dev-cycle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
###################################
set -euo pipefail
shopt -s inherit_errexit
unset CDPATH
export TEGONAL_SCRIPTS_VERSION='v0.14.0-SNAPSHOT'

if ! [[ -v dir_of_tegonal_scripts ]]; then
Expand Down
1 change: 1 addition & 0 deletions src/releasing/release-files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
###################################
set -euo pipefail
shopt -s inherit_errexit
unset CDPATH
export TEGONAL_SCRIPTS_VERSION='v0.14.0-SNAPSHOT'

if ! [[ -v dir_of_tegonal_scripts ]]; then
Expand Down
1 change: 1 addition & 0 deletions src/releasing/sneak-peek-banner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
###################################
set -euo pipefail
shopt -s inherit_errexit
unset CDPATH
export TEGONAL_SCRIPTS_VERSION='v0.14.0-SNAPSHOT'

if ! [[ -v dir_of_tegonal_scripts ]]; then
Expand Down
1 change: 1 addition & 0 deletions src/releasing/toggle-sections.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
###################################
set -euo pipefail
shopt -s inherit_errexit
unset CDPATH
export TEGONAL_SCRIPTS_VERSION='v0.14.0-SNAPSHOT'

if ! [[ -v dir_of_tegonal_scripts ]]; then
Expand Down
1 change: 1 addition & 0 deletions src/releasing/update-version-README.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
###################################
set -euo pipefail
shopt -s inherit_errexit
unset CDPATH
export TEGONAL_SCRIPTS_VERSION='v0.14.0-SNAPSHOT'

if ! [[ -v dir_of_tegonal_scripts ]]; then
Expand Down
1 change: 1 addition & 0 deletions src/releasing/update-version-scripts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
###################################
set -euo pipefail
shopt -s inherit_errexit
unset CDPATH
export TEGONAL_SCRIPTS_VERSION='v0.14.0-SNAPSHOT'

if ! [[ -v dir_of_tegonal_scripts ]]; then
Expand Down
1 change: 1 addition & 0 deletions src/utility/array-utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
###################################
set -euo pipefail
shopt -s inherit_errexit
unset CDPATH

if ! [[ -v dir_of_tegonal_scripts ]]; then
dir_of_tegonal_scripts="$(cd -- "$(dirname -- "${BASH_SOURCE[0]:-$0}")" >/dev/null && pwd 2>/dev/null)/.."
Expand Down
1 change: 1 addition & 0 deletions src/utility/ask.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
###################################
set -euo pipefail
shopt -s inherit_errexit
unset CDPATH

if ! [[ -v dir_of_tegonal_scripts ]]; then
dir_of_tegonal_scripts="$(cd -- "$(dirname -- "${BASH_SOURCE[0]:-$0}")" >/dev/null && pwd 2>/dev/null)/.."
Expand Down
3 changes: 2 additions & 1 deletion src/utility/checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
###################################
set -euo pipefail
shopt -s inherit_errexit
unset CDPATH

if ! [[ -v dir_of_tegonal_scripts ]]; then
dir_of_tegonal_scripts="$(cd -- "$(dirname -- "${BASH_SOURCE[0]:-$0}")" >/dev/null && pwd 2>/dev/null)/.."
Expand Down Expand Up @@ -215,7 +216,7 @@ function checkCommandExists() {
local file
file=$(command -v "$name") || returnDying "%s is not installed (or not in PATH) %s" "$name" "${2:-""}" || return $?
if ! [[ -x $file ]]; then
returnDying "%s is on the system at %s (according to command) but cannot be executed" "$name" "$file" || return $?
returnDying "%s is on the system at %s (according to command) but is not executable. Consider to execute:\nsudo chmod +x %s" "$name" "$file" "$file" || return $?
fi
}

Expand Down
1 change: 1 addition & 0 deletions src/utility/git-utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
###################################
set -euo pipefail
shopt -s inherit_errexit
unset CDPATH

if ! [[ -v dir_of_tegonal_scripts ]]; then
dir_of_tegonal_scripts="$(cd -- "$(dirname -- "${BASH_SOURCE[0]:-$0}")" >/dev/null && pwd 2>/dev/null)/.."
Expand Down
1 change: 1 addition & 0 deletions src/utility/gpg-utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
###################################
set -euo pipefail
shopt -s inherit_errexit
unset CDPATH

if ! [[ -v dir_of_tegonal_scripts ]]; then
dir_of_tegonal_scripts="$(cd -- "$(dirname -- "${BASH_SOURCE[0]:-$0}")" >/dev/null && pwd 2>/dev/null)/.."
Expand Down
1 change: 1 addition & 0 deletions src/utility/io.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
###################################
set -euo pipefail
shopt -s inherit_errexit
unset CDPATH

if ! [[ -v dir_of_tegonal_scripts ]]; then
dir_of_tegonal_scripts="$(cd -- "$(dirname -- "${BASH_SOURCE[0]:-$0}")" >/dev/null && pwd 2>/dev/null)/.."
Expand Down
1 change: 1 addition & 0 deletions src/utility/log.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
###################################
set -euo pipefail
shopt -s inherit_errexit
unset CDPATH

function logInfo() {
local msg=$1
Expand Down
1 change: 1 addition & 0 deletions src/utility/parse-args.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
###################################
set -euo pipefail
shopt -s inherit_errexit
unset CDPATH

if ! [[ -v dir_of_tegonal_scripts ]]; then
dir_of_tegonal_scripts="$(cd -- "$(dirname -- "${BASH_SOURCE[0]:-$0}")" >/dev/null && pwd 2>/dev/null)/.."
Expand Down
1 change: 1 addition & 0 deletions src/utility/parse-commands.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
###################################
set -euo pipefail
shopt -s inherit_errexit
unset CDPATH

if ! [[ -v dir_of_tegonal_scripts ]]; then
dir_of_tegonal_scripts="$(cd -- "$(dirname -- "${BASH_SOURCE[0]:-$0}")" >/dev/null && pwd 2>/dev/null)/.."
Expand Down
1 change: 1 addition & 0 deletions src/utility/parse-fn-args.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
###################################
set -euo pipefail
shopt -s inherit_errexit
unset CDPATH

if ! [[ -v dir_of_tegonal_scripts ]]; then
dir_of_tegonal_scripts="$(cd -- "$(dirname -- "${BASH_SOURCE[0]:-$0}")" >/dev/null && pwd 2>/dev/null)/.."
Expand Down
1 change: 1 addition & 0 deletions src/utility/parse-utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
###################################
set -euo pipefail
shopt -s inherit_errexit
unset CDPATH

if ! [[ -v dir_of_tegonal_scripts ]]; then
dir_of_tegonal_scripts="$(cd -- "$(dirname -- "${BASH_SOURCE[0]:-$0}")" >/dev/null && pwd 2>/dev/null)/.."
Expand Down
1 change: 1 addition & 0 deletions src/utility/recursive-declare-p.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
###################################
set -euo pipefail
shopt -s inherit_errexit
unset CDPATH

if ! [[ -v dir_of_tegonal_scripts ]]; then
dir_of_tegonal_scripts="$(cd -- "$(dirname -- "${BASH_SOURCE[0]:-$0}")" >/dev/null && pwd 2>/dev/null)/.."
Expand Down
1 change: 1 addition & 0 deletions src/utility/replace-help-snippet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
###################################
set -euo pipefail
shopt -s inherit_errexit
unset CDPATH

if ! [[ -v dir_of_tegonal_scripts ]]; then
dir_of_tegonal_scripts="$(cd -- "$(dirname -- "${BASH_SOURCE[0]:-$0}")" >/dev/null && pwd 2>/dev/null)/.."
Expand Down
1 change: 1 addition & 0 deletions src/utility/replace-snippet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
###################################
set -euo pipefail
shopt -s inherit_errexit
unset CDPATH

if ! [[ -v dir_of_tegonal_scripts ]]; then
dir_of_tegonal_scripts="$(cd -- "$(dirname -- "${BASH_SOURCE[0]:-$0}")" >/dev/null && pwd 2>/dev/null)/.."
Expand Down
1 change: 1 addition & 0 deletions src/utility/source-once.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
###################################
set -euo pipefail
shopt -s inherit_errexit
unset CDPATH

function determineSourceOnceGuard() {
if ! (($# == 1)); then
Expand Down
1 change: 1 addition & 0 deletions src/utility/update-bash-docu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
###################################
set -euo pipefail
shopt -s inherit_errexit
unset CDPATH

if ! [[ -v dir_of_tegonal_scripts ]]; then
dir_of_tegonal_scripts="$(cd -- "$(dirname -- "${BASH_SOURCE[0]:-$0}")" >/dev/null && pwd 2>/dev/null)/.."
Expand Down