rm sometimes do not recognise wild cards in windows

This commit is contained in:
nsubiron 2017-09-19 14:57:43 +02:00
parent 25a4f0411c
commit 5991c71095
1 changed files with 3 additions and 2 deletions

View File

@ -7,8 +7,9 @@ set PROTO_BASENAME=carla_server
if "%1" == "--clean" (
rem Delete existing ones.
rm -f %PROTOBUF_CPP_OUT_DIR%/*.pb.h %PROTOBUF_CPP_OUT_DIR%/*.pb.cc
rm -f %PROTOBUF_PY_OUT_DIR%/*_pb2.py
rm -f %PROTOBUF_CPP_OUT_DIR%/carla_server.pb.h
rm -f %PROTOBUF_CPP_OUT_DIR%/carla_server.pb.cc
rm -f %PROTOBUF_PY_OUT_DIR%/carla_server_pb2.py
goto end
)