From 2480b1a20b12af233c1285ab4dec4e79c518637e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=95=D0=B3=D0=BE=D1=80?= <148970641+Egor00f@users.noreply.github.com> Date: Sat, 9 Nov 2024 23:18:02 +0500 Subject: [PATCH] Update install.sh --- install.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index d5c19ba..f1b0ca7 100755 --- a/install.sh +++ b/install.sh @@ -30,8 +30,9 @@ check_utils(){ pwd +DEFAULT_TOOLCHAIN_DIR="/home/autobuild/tools" -TOOLCHAIN_DIR="/home/autobuild/tools" +TOOLCHAIN_DIR=$DEFAULT_TOOLCHAIN_DIR MESSAGE="Toolchain install path(default is $TOOLCHAIN_DIR): " @@ -132,7 +133,7 @@ sudo ln -sf /usr/lib/libmpfr.so.6 /usr/lib/libmpfr.so.4 print_ok "Successfully!" - +sudo ln -sf $TOOLCHAIN_DIR $DEFAULT_TOOLCHAIN_DIR if [ ! "$(id -u)" -ne 0 ]