mirror of https://github.com/rusefi/rusefi.git
test
This commit is contained in:
parent
cc3ca5fc48
commit
d1ecead8b7
|
@ -32,7 +32,11 @@ fi
|
|||
echo "BOARD_DIR=${BOARD_DIR} SHORT_BOARD_NAME=${SHORT_BOARD_NAME}"
|
||||
|
||||
which realpath >/dev/null 2>&1 || (which grealpath >/dev/null 2>&1 && alias realpath='grealpath')
|
||||
echo "path: $0"
|
||||
echo "dirname: $(dirname $0)"
|
||||
FDIR=$(realpath $(dirname "$0"))
|
||||
echo "fdir: $FDIR"
|
||||
echo "rp: $(which realpath)"
|
||||
BOARD_DIR=$(realpath --relative-to "$FDIR" "$BOARD_DIR")
|
||||
|
||||
cd "$FDIR"
|
||||
|
|
Loading…
Reference in New Issue