debug test

This commit is contained in:
David Holdeman 2024-04-24 17:14:34 -05:00
parent 190dd9ac55
commit 5693feb1b6
No known key found for this signature in database
GPG Key ID: DBEE6FCFCC9DD9A6
1 changed files with 6 additions and 0 deletions

View File

@ -31,8 +31,14 @@ fi
echo "BOARD_DIR=${BOARD_DIR} SHORT_BOARD_NAME=${SHORT_BOARD_NAME}"
echo "rp1: $(which realpath)"
if which grealpath >/dev/null 2>&1; then alias realpath='grealpath'; fi
echo "path: $0"
echo "dirname: $(dirname $0)"
FDIR=$(realpath $(dirname "$0"))
echo "fdir: $FDIR"
echo "rp: $(which realpath)"
echo "grp: $(which grealpath)"
BOARD_DIR=$(realpath --relative-to "$FDIR" "$BOARD_DIR")
cd "$FDIR"