Skip to content

Commit

Permalink
Refs #21226: Adjust script to python version 1.2.x
Browse files Browse the repository at this point in the history
Signed-off-by: JesusPoderoso <[email protected]>
  • Loading branch information
JesusPoderoso committed Jul 22, 2024
1 parent 7383627 commit e11ee5a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions utils/scripts/update_generated_code_from_idl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ fi
ret_value=0

cd ./fastdds_python/test/types
echo -e "Processing ${yellow}test_complete.idl test_modules.idl${textreset}"
echo "Running: fastddsgen -cdr both -replace -python test_complete.idl test_modules.idl"
fastddsgen -cdr both -replace -python test_complete.idl test_modules.idl
echo -e "Processing ${yellow}test_complete.idl${textreset}"
echo "Running: fastddsgen -replace -python test_complete.idl"
fastddsgen -replace -python test_complete.idl
if [[ $? != 0 ]]; then
ret_value=-1
fi
Expand All @@ -31,8 +31,8 @@ if [[ $ret_value != -1 ]]; then
cd "./fastdds_python_examples/HelloWorldExample"

echo -e "Processing ${yellow}HelloWorld.idl${textreset}"
echo "Running: fastddsgen -cdr both -replace -python HelloWorld.idl"
fastddsgen -cdr both -replace -python HelloWorld.idl
echo "Running: fastddsgen -replace -python HelloWorld.idl"
fastddsgen -replace -python HelloWorld.idl
fi

if [[ $? != 0 ]]; then
Expand Down

0 comments on commit e11ee5a

Please sign in to comment.