diff --git a/build_ptth_server.bash b/build_ptth_server.bash index 6334552..71d612a 100755 --- a/build_ptth_server.bash +++ b/build_ptth_server.bash @@ -15,15 +15,19 @@ export LC_ALL="C" TEMP_GIBBERISH="ptth_server_build_BIHWLQXQ" DEST="$TEMP_GIBBERISH/ptth" +rm -rf "$TEMP_GIBBERISH" + mkdir "$TEMP_GIBBERISH" mkdir "$DEST" cargo build --release -p ptth_server +cargo build --release -p quic_demo --bin quic_demo_end_server mkdir -p "$DEST/handlebars/server" rsync -r handlebars/server/ "$DEST/handlebars/server/" -cp target/release/ptth_server "$DEST/ptth_server" +cp target/release/ptth_server "$DEST/" +cp target/release/quic_demo_end_server "$DEST/" ( cd "$TEMP_GIBBERISH" || exit