From cda985d7e132bfe87d495b9366a6009d31ee38df Mon Sep 17 00:00:00 2001 From: Tan Nguyen <35853002+tanhongit@users.noreply.github.com> Date: Thu, 2 Nov 2023 10:50:50 +0700 Subject: [PATCH] Update install.sh --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 9775fec..8797e32 100644 --- a/install.sh +++ b/install.sh @@ -8,7 +8,7 @@ json_files=( for file in "${json_files[@]}"; do if [ ! -f "storage/json/tgn/$file" ]; then - cp "./config/jsons/$file" "storage/json/tgn/$file" + cp "$(dirname "$0")/config/jsons/$file" "storage/json/tgn/$file" fi done