File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -295,5 +295,9 @@ $filename = 'openocd-{0}-{1}.zip' -f
295295 ($Matches.version -replace ' -.*$' , ' ' ),
296296 $suffix
297297
298+ # Removing files with special char in their names
299+ # they cause issues with some decompression libraries
300+ exec { Remove-Item " build\openocd-install\mingw$bitness \share\openocd\scripts\target\1986*.cfg" }
301+
298302Write-Host " Saving OpenOCD package to $filename "
299303exec { tar - a - cf " bin\$filename " - C " build\openocd-install\mingw$bitness \bin" * - C " ..\share\openocd" " scripts" }
Original file line number Diff line number Diff line change @@ -14,7 +14,3 @@ make -j$(nproc)
1414DESTDIR=" $PWD /../openocd-install" make install
1515cp " /mingw$BITNESS /bin/libhidapi-0.dll" " $PWD /../openocd-install/mingw$BITNESS /bin"
1616cp " /mingw$BITNESS /bin/libusb-1.0.dll" " $PWD /../openocd-install/mingw$BITNESS /bin"
17-
18- # Removing files with special char in their names
19- # they cause issues with some decompression libraries
20- rm " $PWD /../openocd-install/mingw$BITNESS /scripts/target/1986*.cfg"
You can’t perform that action at this time.
0 commit comments