Package PythonAPI/agents

This commit is contained in:
nsubiron 2018-12-21 21:21:58 +01:00
parent 62cca3a697
commit 7bf1b21425
2 changed files with 6 additions and 4 deletions

View File

@ -38,7 +38,7 @@ function get_carla_version {
function copy_if_changed {
mkdir -p $(dirname $2)
rsync -cI --out-format="%n" $1 $2
rsync -cIr --out-format="%n" $1 $2
}
function move_if_changed {

View File

@ -100,11 +100,13 @@ if $DO_COPY_FILES ; then
# copy_if_changed "./Docs/Example.CarlaSettings.ini" "${DESTINATION}/Example.CarlaSettings.ini"
copy_if_changed "./Util/Docker/Release.Dockerfile" "${DESTINATION}/Dockerfile"
copy_if_changed "./PythonAPI/dist/*.egg" "${DESTINATION}/PythonAPI/"
copy_if_changed "./PythonAPI/tutorial.py" "${DESTINATION}/tutorial.py"
copy_if_changed "./PythonAPI/manual_control.py" "${DESTINATION}/manual_control.py"
copy_if_changed "./PythonAPI/agents/" "${DESTINATION}/PythonAPI/agents"
copy_if_changed "./PythonAPI/automatic_control.py" "${DESTINATION}/automatic_control.py"
copy_if_changed "./PythonAPI/dynamic_weather.py" "${DESTINATION}/dynamic_weather.py"
copy_if_changed "./PythonAPI/vehicle_gallery.py" "${DESTINATION}/vehicle_gallery.py"
copy_if_changed "./PythonAPI/manual_control.py" "${DESTINATION}/manual_control.py"
copy_if_changed "./PythonAPI/spawn_npc.py" "${DESTINATION}/spawn_npc.py"
copy_if_changed "./PythonAPI/tutorial.py" "${DESTINATION}/tutorial.py"
copy_if_changed "./PythonAPI/vehicle_gallery.py" "${DESTINATION}/vehicle_gallery.py"
popd >/dev/null