Skip to content

Commit 96c98c5

Browse files
committed
Upstream.
1 parent 0a35669 commit 96c98c5

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

ubiquitous_bash.sh

Lines changed: 7 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='3881306524'
42+
export ub_setScriptChecksum_contents='1045820441'
4343

4444
# CAUTION: Symlinks may cause problems. Disable this test for such cases if necessary.
4545
# WARNING: Performance may be crucial here.
@@ -48915,13 +48915,19 @@ _gitPull_ubiquitous() {
4891548915
}
4891648916

4891748917
_gitClone_ubiquitous() {
48918+
local functionEntryPWD="$PWD"
48919+
4891848920
local currentExitStatus_gitBest_clone="0"
4891948921
local currentExitStatus_gitBest_submodule_update="0"
4892048922
#git clone --depth 1 [email protected]:mirage335/ubiquitous_bash.git
4892148923
_gitBest clone --recursive --depth 1 [email protected]:mirage335/ubiquitous_bash.git
4892248924
currentExitStatus_gitBest_clone="$?"
48925+
48926+
! cd ubiquitous_bash && _messagePlain_bad 'bad: cd ubiquitous_bash' && return 1
4892348927
_gitBest submodule update --recursive
4892448928
currentExitStatus_gitBest_submodule_update="$?"
48929+
! cd "$functionEntryPWD" && _messagePlain_bad 'bad: cd '"$functionEntryPWD" && return 1
48930+
4892548931
[[ "$currentExitStatus_gitBest_clone" != "0" ]] && return "$currentExitStatus_gitBest_clone"
4892648932
[[ "$currentExitStatus_gitBest_submodule_update" != "0" ]] && return "$currentExitStatus_gitBest_submodule_update"
4892748933
return 0

0 commit comments

Comments
 (0)