hack: "fix" the .env loading by just using `pwd` instead of dirname $_ etc

custom
Robin Howard 2 years ago
parent 53cf476876
commit b284eb4b21
  1. 6
      .env

@ -2,8 +2,10 @@
# #
# SPDX-License-Identifier: CC0-1.0 # SPDX-License-Identifier: CC0-1.0
repo_dir=$(cd "$(dirname "$_")" && pwd) # Load-bearing useless command, for bash. I have *no* idea why, but evaluating
# $@ is necessary for the rest to work.
repo_dir=$(pwd)
export PROJ_PATH=$repo_dir export PROJ_PATH=$repo_dir
export IDF_PATH=$repo_dir/lib/esp-idf export IDF_PATH=$repo_dir/lib/esp-idf
. $IDF_PATH/export.sh . $IDF_PATH/export.sh

Loading…
Cancel
Save