File tree 1 file changed +2
-1
lines changed
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
117
117
# 3. Created at the sketch level as "buildX" where X is the number
118
118
# of configuration built in case of a multiconfiguration test.
119
119
120
+ sketchname=$( basename $sketchdir )
121
+
120
122
ARDUINO_CACHE_DIR=" $HOME /.arduino/cache.tmp"
121
123
if [ -n " $ARDUINO_BUILD_DIR " ]; then
122
124
build_dir=" $ARDUINO_BUILD_DIR "
@@ -136,7 +138,6 @@ function build_sketch(){ # build_sketch <ide_path> <user_path> <path-to-ino> [ex
136
138
mkdir -p $build_dir
137
139
138
140
currfqbn=` echo $fqbn | jq -r --argjson i $i ' .[$i]' `
139
- sketchname=$( basename $sketchdir )
140
141
141
142
if [ -f " $ide_path /arduino-cli" ]; then
142
143
echo " Building $sketchname with arduino-cli and FQBN=$currfqbn "
You can’t perform that action at this time.
0 commit comments