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.
This commit is contained in:
Primakov Alexandr Alexandrovich 2025-10-13 00:28:57 +03:00
parent 4570ab91a6
commit 6fbd421b46

View File

@ -11,7 +11,13 @@ echo "Fixing AI Review Installation"
echo "==========================================" echo "=========================================="
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" cd "$INSTALL_DIR"
# 1. Создать Python virtual environment # 1. Создать Python virtual environment