Commit a5070bd5 authored by Matthew Hausknecht's avatar Matthew Hausknecht

removed bashpid for osx.

parent 2b6761b0
...@@ -86,6 +86,7 @@ add_library(hfo-lib SHARED ${SOURCE_DIR}/HFO.hpp ${SOURCE_DIR}/HFO.cpp) ...@@ -86,6 +86,7 @@ add_library(hfo-lib SHARED ${SOURCE_DIR}/HFO.hpp ${SOURCE_DIR}/HFO.cpp)
set_target_properties(hfo-lib PROPERTIES OUTPUT_NAME hfo) set_target_properties(hfo-lib PROPERTIES OUTPUT_NAME hfo)
set_target_properties(hfo-lib PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/lib) set_target_properties(hfo-lib PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/lib)
add_dependencies(player_chain_action librcsc)
add_dependencies(sample_coach librcsc) add_dependencies(sample_coach librcsc)
add_dependencies(sample_player librcsc) add_dependencies(sample_player librcsc)
add_dependencies(sample_trainer librcsc) add_dependencies(sample_trainer librcsc)
......
...@@ -452,7 +452,7 @@ while [ $i -le ${number} ] ; do ...@@ -452,7 +452,7 @@ while [ $i -le ${number} ] ; do
cmd="${player} ${opt} ${opts} ${offline_number} ${goalie} --reconnect $i" cmd="${player} ${opt} ${opts} ${offline_number} ${goalie} --reconnect $i"
if [ X"${use_gdb}" = X'' ]; then if [ X"${use_gdb}" = X'' ]; then
${cmd} & ${cmd} &
echo "PID: $!" > ${LOG_DIR}/start$BASHPID echo "PID: $!" > ${LOG_DIR}/start$$
else else
gdb -ex run --args ${cmd} gdb -ex run --args ${cmd}
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment