Merge pull request #1039 from sgillis/fix-cdpath-issue

Unset CDPATH while getting SCRIPT_DIR
This commit is contained in:
Den Delimarsky
2025-11-14 16:39:09 -08:00
committed by GitHub
5 changed files with 5 additions and 5 deletions

View File

@@ -49,7 +49,7 @@ set -o pipefail
#==============================================================================
# Get script directory and load 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 all paths and variables from common functions