Skip to content

Commit

Permalink
Blindly try fixing the Windows .bat scripts. #1093, #1092
Browse files Browse the repository at this point in the history
  • Loading branch information
dabreegster committed Oct 7, 2023
1 parent abcf812 commit dd5a48d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions release/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ for name in play_abstreet ungap_the_map fifteen_min osm_viewer parking_mapper sa
;;
esac
if [[ "$os" = "windows-latest" ]]; then
# The directory separator is backslash
cmd=`$cmd | sed 's/\\//\\\/g'`
script="${output}/${name}.bat"
echo 'set RUST_BACKTRACE=1' > $script
echo "${cmd} 1> output.txt 2>&1" >> $script
Expand Down

0 comments on commit dd5a48d

Please sign in to comment.