mirror of https://github.com/zxdos/zxuno.git
sdk: fix mistake in path resolving in file `sdk/setvars.sh`
This commit is contained in:
parent
72618ae809
commit
c76b3cad2b
|
@ -4,7 +4,7 @@
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
if [[ "x$ZXUNOSDK" == x ]]; then
|
if [[ "x$ZXUNOSDK" == x ]]; then
|
||||||
ZXUNOSDK=$(dirname $(realpath "$0"))
|
ZXUNOSDK=$(dirname $(realpath "$BASH_SOURCE"))
|
||||||
PATH=$ZXUNOSDK/bin:$PATH
|
PATH=$ZXUNOSDK/bin:$PATH
|
||||||
export ZXUNOSDK
|
export ZXUNOSDK
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue