From c76b3cad2ba6f779d9609e9befc620ab49560d3a Mon Sep 17 00:00:00 2001 From: Ivan Tatarinov Date: Sat, 10 Apr 2021 13:21:04 +0300 Subject: [PATCH] sdk: fix mistake in path resolving in file `sdk/setvars.sh` --- sdk/setvars.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/setvars.sh b/sdk/setvars.sh index aebd914..9a41831 100644 --- a/sdk/setvars.sh +++ b/sdk/setvars.sh @@ -4,7 +4,7 @@ # SPDX-License-Identifier: GPL-3.0-or-later if [[ "x$ZXUNOSDK" == x ]]; then - ZXUNOSDK=$(dirname $(realpath "$0")) + ZXUNOSDK=$(dirname $(realpath "$BASH_SOURCE")) PATH=$ZXUNOSDK/bin:$PATH export ZXUNOSDK fi