summaryrefslogtreecommitdiff
path: root/.env
diff options
context:
space:
mode:
authorRobin Howard <robin@rhoward.id.au>2023-10-12 14:15:17 +1100
committerRobin Howard <robin@rhoward.id.au>2023-10-12 14:15:17 +1100
commitb284eb4b21be5d4e5bf9c1dd4beb959e38dd9f8f (patch)
treeef8f3b567ad4a0ec261181c32dd1cc515ba66f3f /.env
parent53cf476876560723031128a0f1b47135de7167d1 (diff)
downloadtangara-fw-b284eb4b21be5d4e5bf9c1dd4beb959e38dd9f8f.tar.gz
hack: "fix" the .env loading by just using `pwd` instead of dirname $_ etc
Diffstat (limited to '.env')
-rw-r--r--.env6
1 files changed, 4 insertions, 2 deletions
diff --git a/.env b/.env
index 7d8d1bb3..ec2cdf69 100644
--- a/.env
+++ b/.env
@@ -2,8 +2,10 @@
#
# 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 IDF_PATH=$repo_dir/lib/esp-idf
. $IDF_PATH/export.sh
-