You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
declare BASEDIR
BASEDIR="$(cd"$( dirname "${BASH_SOURCE[0]}")">/dev/null 2>&1&& pwd)"# for full symlink resolution# BASEDIR="$( realpath -qs "$( cd "$( dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd )")"
And possibly this at the start of bash scripts.
# "unofficial" bash strict mode# See: http://redsymbol.net/articles/unofficial-bash-strict-modeset -o errexit # Exit when simple command fails 'set -e'set -o errtrace # Exit on error inside any functions or subshells.set -o nounset # Trigger error when expanding unset variables 'set -u'set -o pipefail # Do not hide errors within pipes 'set -o pipefail'# set -o xtrace # Display expanded command and arguments 'set -x'
IFS=$'\n\t'# Split words on \n\t rather than spaces
The text was updated successfully, but these errors were encountered:
mautic-eb/scripts/core-patches.sh
Lines 11 to 13 in 884a71c
Use this for a assigning script path:
And possibly this at the start of bash scripts.
The text was updated successfully, but these errors were encountered: