Unset CDPATH while getting SCRIPT_DIR

This commit is contained in:
San Gillis
2025-10-25 11:34:26 +02:00
parent e6d6f3cdee
commit 2a7c2e9398
5 changed files with 5 additions and 5 deletions

View File

@@ -75,7 +75,7 @@ EOF
done
# Source common functions
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
SCRIPT_DIR="$(CDPATH="" cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
source "$SCRIPT_DIR/common.sh"
# Get feature paths and validate branch