Skip to content

Commit

Permalink
Make the paths more configurable in GUI.tcl
Browse files Browse the repository at this point in the history
  • Loading branch information
mesheets committed Jul 20, 2024
1 parent dfe2b51 commit f2b1e04
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions GUI.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,13 @@ exec wish $0 ${1+"$@"}

set firmware ""
set brickaddr 0
set brickoshome "/usr/local/brickos"
set brickosname bibo
set brickoshome "/usr/local/$brickosname"
if { [llength [array get env BRICKOS_DIR]] != 0 } {
set brickoshome $env(BRICKOS_DIR)
}

set BRICKOS_LIBDIR "$brickoshome/lib/brickos"
set BRICKOS_LIBDIR "$brickoshome/lib/$brickosname"
if { [llength [array get env BRICKOS_LIBDIR]] != 0 } {
set BRICKOS_LIBDIR $env(BRICKOS_LIBDIR)
}
Expand Down

0 comments on commit f2b1e04

Please sign in to comment.