File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1313set -eEuo pipefail
1414
1515PROG=" $( basename " $0 " ) "
16- PROG_PATH=" $( readlink -f " $0 " ) "
16+ PROG_PATH=" $( readlink -f " ${BASH_SOURCE[0]} " ) "
1717PROG_DIR=" $( dirname " $PROG_PATH " ) "
1818
1919# ###############################################################################
Original file line number Diff line number Diff line change 1010# @author Jerry Lee (oldratlee at gmail dot com)
1111set -eEuo pipefail
1212
13+ # BASE="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")"
1314BASE=" $( dirname " $0 " ) "
1415source " $BASE /xpl" " $@ "
Original file line number Diff line number Diff line change 55# @online-doc https://github.com/oldratlee/useful-scripts/blob/dev-2.x/docs/shell.md#-console-text-color-themessh
66# @author Jerry Lee (oldratlee at gmail dot com)
77
8- readonly _ctct_PROG=" $( basename " $( readlink -f " $0 " ) " ) "
8+ readonly _ctct_PROG=" $( basename " $( readlink -f " ${BASH_SOURCE[0]} " ) " ) "
99[ " $_ctct_PROG " == ' console-text-color-themes.sh' ] && readonly _ctct_is_direct_run=true
1010
1111readonly _ctct_ec=$' \033 ' # escape char
You can’t perform that action at this time.
0 commit comments