File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -131,13 +131,13 @@ function build_sketch(){ # build_sketch <ide_path> <user_path> <path-to-ino> [ex
131
131
echo " Skipping $sketchname for target $target "
132
132
exit 0
133
133
fi
134
-
134
+
135
135
ARDUINO_CACHE_DIR=" $HOME /.arduino/cache.tmp"
136
136
if [ -n " $ARDUINO_BUILD_DIR " ]; then
137
137
build_dir=" $ARDUINO_BUILD_DIR "
138
138
elif [ $len -eq 1 ]; then
139
139
# build_dir="$sketchdir/build"
140
- build_dir=" $HOME /.arduino/tests/$sketchname /build.tmp"
140
+ build_dir=" $HOME /.arduino/tests/$sketchname /build.tmp/ $target "
141
141
fi
142
142
143
143
mkdir -p " $ARDUINO_CACHE_DIR "
@@ -165,7 +165,7 @@ function build_sketch(){ # build_sketch <ide_path> <user_path> <path-to-ino> [ex
165
165
--build-cache-path " $ARDUINO_CACHE_DIR " \
166
166
--build-path " $build_dir " \
167
167
$xtra_opts " ${sketchdir} "
168
-
168
+
169
169
exit_status=$?
170
170
if [ $exit_status -ne 0 ]; then
171
171
echo " " ERROR: Compilation failed with error code $exit_status " "
You can’t perform that action at this time.
0 commit comments