termux_setup_toolchain_gnu.sh: small change

This commit is contained in:
Ivan Max 2023-09-14 17:24:30 +03:00 committed by GitHub
parent cea58eca30
commit a045bf013f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ termux_setup_toolchain_gnu() {
if ! $(echo "$PATH" | grep -q "^$TERMUX_STANDALONE_TOOLCHAIN/bin:"); then
export PATH="$TERMUX_STANDALONE_TOOLCHAIN/bin:$PATH"
fi
if ! $(echo "$PATH" | grep -q ":$TERMUX_PREFIX/bin$"); then
if ! $(echo "$PATH" | grep -q ":$TERMUX_PREFIX/bin"); then
export PATH="$PATH:$TERMUX_PREFIX/bin"
fi
fi