Skip to content

Commit 548ba15

Browse files
committed
Upstream.
1 parent 03800dc commit 548ba15

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

ubiquitous_bash.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ _ub_cksum_special_derivativeScripts_contents() {
3939
#export ub_setScriptChecksum_disable='true'
4040
( [[ -e "$0".nck ]] || [[ "${BASH_SOURCE[0]}" != "${0}" ]] || [[ "$1" == '--profile' ]] || [[ "$1" == '--script' ]] || [[ "$1" == '--call' ]] || [[ "$1" == '--return' ]] || [[ "$1" == '--devenv' ]] || [[ "$1" == '--shell' ]] || [[ "$1" == '--bypass' ]] || [[ "$1" == '--parent' ]] || [[ "$1" == '--embed' ]] || [[ "$1" == '--compressed' ]] || [[ "$0" == "/bin/bash" ]] || [[ "$0" == "-bash" ]] || [[ "$0" == "/usr/bin/bash" ]] || [[ "$0" == "bash" ]] ) && export ub_setScriptChecksum_disable='true'
4141
export ub_setScriptChecksum_header='3620520443'
42-
export ub_setScriptChecksum_contents='541568231'
42+
export ub_setScriptChecksum_contents='3577355353'
4343

4444
# CAUTION: Symlinks may cause problems. Disable this test for such cases if necessary.
4545
# WARNING: Performance may be crucial here.
@@ -58011,6 +58011,11 @@ _stop() {
5801158011
[[ -e "$scriptLocal"/python_cygwin.lock ]] && [[ $(head -c $(echo -n "$sessionid" | wc -c | tr -dc '0-9') "$scriptLocal"/python_cygwin.lock 2> /dev/null ) == "$sessionid" ]] && rm -f "$scriptLocal"/python_cygwin.lock > /dev/null 2>&1
5801258012

5801358013
_stop_stty_echo
58014+
58015+
# WARNING: CAUTION: Do NOT cause EXIT trap unset until 'exit' command cannot be called (eg. by user in an interactive shell).
58016+
# Unset the 'exit' trap before calling 'exit' command properly , hopefully prevent incorrect exit status in some unusual situations (eg. CI environment, 'set -e -o pipefail' , etc) .
58017+
trap - EXIT
58018+
5801458019
if [[ "$1" != "" ]]
5801558020
then
5801658021
exit "$1"

0 commit comments

Comments
 (0)