File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -117,6 +117,8 @@ function build_sketch(){ # build_sketch <ide_path> <user_path> <path-to-ino> [ex
117117 # 3. Created at the sketch level as "buildX" where X is the number
118118 # of configuration built in case of a multiconfiguration test.
119119
120+ sketchname=$( basename $sketchdir )
121+
120122 ARDUINO_CACHE_DIR=" $HOME /.arduino/cache.tmp"
121123 if [ -n " $ARDUINO_BUILD_DIR " ]; then
122124 build_dir=" $ARDUINO_BUILD_DIR "
@@ -136,7 +138,6 @@ function build_sketch(){ # build_sketch <ide_path> <user_path> <path-to-ino> [ex
136138 mkdir -p $build_dir
137139
138140 currfqbn=` echo $fqbn | jq -r --argjson i $i ' .[$i]' `
139- sketchname=$( basename $sketchdir )
140141
141142 if [ -f " $ide_path /arduino-cli" ]; then
142143 echo " Building $sketchname with arduino-cli and FQBN=$currfqbn "
You can’t perform that action at this time.
0 commit comments