File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 233
233
# ####### Generate extra files ########
234
234
find firmware/mcu_ws/ros2 \( -name " *.srv" -o -name " *.msg" -o -name " *.action" \) | awk -F" /" ' {print $(NF-2)"/"$NF}' > /project/available_ros2_types
235
235
find firmware/mcu_ws/extra_packages \( -name " *.srv" -o -name " *.msg" -o -name " *.action" \) | awk -F" /" ' {print $(NF-2)"/"$NF}' >> /project/available_ros2_types
236
+ # sort it so that the result order is reproducible
237
+ sort -o /project/available_ros2_types /project/available_ros2_types
236
238
237
239
cd firmware
238
240
echo " " > /project/built_packages
239
241
for f in $( find $( pwd) -name .git -type d) ; do pushd $f > /dev/null; echo $( git config --get remote.origin.url) $( git rev-parse HEAD) >> /project/built_packages; popd > /dev/null; done ;
242
+ # sort it so that the result order is reproducible
243
+ sort -o /project/built_packages /project/built_packages
240
244
241
245
# ####### Fix permissions ########
242
246
sudo chmod -R 777 .
You can’t perform that action at this time.
0 commit comments