From 6fbd421b468d3c5f0e7ee07d47e870ef42e6b116 Mon Sep 17 00:00:00 2001 From: Primakov Alexandr Alexandrovich Date: Mon, 13 Oct 2025 00:28:57 +0300 Subject: [PATCH] Update installation script to set installation directory dynamically - Modified `fix-installation.sh` to determine the installation directory based on the script's location. - Added output to display the working directory for better user feedback during installation. --- fix-installation.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/fix-installation.sh b/fix-installation.sh index 99a668e..72e808e 100644 --- a/fix-installation.sh +++ b/fix-installation.sh @@ -11,7 +11,13 @@ echo "Fixing AI Review Installation" echo "==========================================" echo "" -INSTALL_DIR="$HOME/code-review-agent" +# Определить директорию установки (где находится скрипт) +SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" +INSTALL_DIR="$SCRIPT_DIR" + +echo "Working directory: $INSTALL_DIR" +echo "" + cd "$INSTALL_DIR" # 1. Создать Python virtual environment