Fix script compatibility with MSYS2 environment
Dažas pārbaudes neizdevās izpildīt
Builds / XTchain (full, linux) (push) Has started running
Builds / XTchain (full, windows) (push) Has started running
Builds / XTchain (minimal, linux) (push) Has been cancelled
Builds / XTchain (minimal, windows) (push) Has been cancelled
Dažas pārbaudes neizdevās izpildīt
Builds / XTchain (full, linux) (push) Has started running
Builds / XTchain (full, windows) (push) Has started running
Builds / XTchain (minimal, linux) (push) Has been cancelled
Builds / XTchain (minimal, windows) (push) Has been cancelled
Šī revīzija ir iekļauta:
revīziju iesūtīja
CodingWorkshop Signing Team
vecāks
703df71191
revīzija
317fedec34
@@ -7,13 +7,13 @@
|
||||
|
||||
|
||||
# Get the absolute path to the XTchain
|
||||
export XTCDIR="$(realpath $(dirname ${0}))"
|
||||
export XTCDIR="$(realpath $(dirname "${0}"))"
|
||||
|
||||
# Read the XTchain version
|
||||
export XTCVER="$(cat ${XTCDIR}/Version)"
|
||||
export XTCVER="$(cat "${XTCDIR}/Version")"
|
||||
|
||||
# Load the library
|
||||
source ${XTCDIR}/lib/xtchain/xtclib
|
||||
source "${XTCDIR}/lib/xtchain/xtclib"
|
||||
|
||||
# Set the target architecture
|
||||
: ${TARGET:=${1}}
|
||||
@@ -41,4 +41,4 @@ export PFMAT3="\[\033[0;1;97;104m\]"
|
||||
export PFMAT4="\[\033[0;94;49m\]"
|
||||
export PFMAT5="\[\033[1;38;5;74m\]"
|
||||
export PROMPT="\n${PFMAT1} XT Toolchain ${PFMAT2}${PFMAT3} \w ${PFMAT4}${PFMAT5} "
|
||||
bash --rcfile <(echo 'source ~/.bashrc && export PS1="${PROMPT}" && cd ${SRCDIR}')
|
||||
bash --rcfile <(echo 'export PS1="${PROMPT}" && cd "${SRCDIR}"')
|
||||
|
||||
Atsaukties uz šo jaunā problēmā
Block a user