From c6963b2cedb9c9607b5314da8931fc601d9825ff Mon Sep 17 00:00:00 2001 From: ml server Date: Sat, 12 Jun 2021 14:42:19 -0600 Subject: [PATCH] git root --- config/jebbatime.conf | 3 +++ scripts/jebbatime-dev-flash | 2 ++ scripts/jebbatime-flash | 2 ++ 3 files changed, 7 insertions(+) diff --git a/config/jebbatime.conf b/config/jebbatime.conf index 395f1bb..84a510e 100644 --- a/config/jebbatime.conf +++ b/config/jebbatime.conf @@ -1,6 +1,9 @@ # Put here with correct MACs. # ~/.config/jebbatime.conf +# Directory where jebbatime git repo is located +JEBBATIMEGITROOT=~/jebbatime + # Bluetooth MAC of main sealed watch. JEBBATIMEMAC=00:11:22:33:44:00 # Bluetooth MAC of main sealed watch DFU. One larger than main MAC. diff --git a/scripts/jebbatime-dev-flash b/scripts/jebbatime-dev-flash index 40bbb1e..a26d566 100755 --- a/scripts/jebbatime-dev-flash +++ b/scripts/jebbatime-dev-flash @@ -3,6 +3,8 @@ # Get config . ~/.config/jebbatime.conf +cd $JEBBATIMEGITROOT + # Download latest release. XXX better link to latest. rm -f /tmp/micropython.zip wget -O /tmp/micropython.zip \ diff --git a/scripts/jebbatime-flash b/scripts/jebbatime-flash index 66479a3..cab2034 100755 --- a/scripts/jebbatime-flash +++ b/scripts/jebbatime-flash @@ -3,6 +3,8 @@ # Get config . ~/.config/jebbatime.conf +cd $JEBBATIMEGITROOT + # Download latest release. XXX better link to latest. rm -f /tmp/micropython.zip wget -O /tmp/micropython.zip \