Skip to content

Commit 34429db

Browse files
Fix merge issue
1 parent 734d017 commit 34429db

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

tests/common.sh

-8
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ function build_sketches()
7474
# Make ARDUINO_IDE_PATH to Windows slashies
7575
export ARDUINO_IDE_PATH=$(realpath $arduino | sed 's/\/c/C:/' | tr / '\\' )
7676
build_cmd="python3 tools/build.py -b generic -v -w all -s 4M1M -v -k -p $pwd_win/$build_dir -n $lwip $bar_win "
77-
build_cmd=$(echo $build_cmd | tr '"' ' ') # Remove quotes to see if Win Go works better
7877
fi
7978
local sketches=$(find $srcpath -name *.ino | sort)
8079
print_size_info >size.log
@@ -161,17 +160,10 @@ function install_ide()
161160
# Acquire needed packages from Windows package manager
162161
choco install --no-progress python3
163162
export PATH="/c/Python37:$PATH" # Ensure it's live from now on...
164-
<<<<<<< HEAD
165163
cp /c/Python37/python.exe /c/Python37/python3.exe
166164
choco install --no-progress unzip
167165
choco install --no-progress sed
168166
#choco install --no-progress golang
169-
=======
170-
cp /c/Python37/python.exe /c/Python37/python3.exe
171-
choco install --no-progress unzip
172-
choco install --no-progress sed
173-
choco install --no-progress golang
174-
>>>>>>> edfc77b0c247efe7afa70461ff9c32fda27c3274
175167
test -r arduino-nightly-windows.zip || wget -nv -O arduino-nightly-windows.zip https://www.arduino.cc/download.php?f=/arduino-nightly-windows.zip
176168
unzip -q arduino-nightly-windows.zip
177169
elif [ "$MACOSX" = "1" ]; then

tools/build.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ def compile(tmp_dir, sketch, cache, tools_dir, hardware_dir, ide_path, f, args):
6464
cmd += '-verbose '
6565
cmd += sketch
6666

67-
# Normalize slashes on Windows
67+
# Try removing quotes to make arduino-cli sork
6868
if platform.system() == "Windows":
69-
cmd = cmd.replace('/', '\\').replace('"', '')
69+
cmd = cmd.replace('/', '\\')
7070

7171
if args.verbose:
7272
print('Building: ' + cmd, file=f)

0 commit comments

Comments
 (0)