Skip to content

Commit 5a3c831

Browse files
Disable changes check (backport #794) (#795)
* Disable changes check (#794) (cherry picked from commit e4a7fb7) # Conflicts: # extras/library_generation/library_generation.sh * Fix conflicts Co-authored-by: Antonio Cuadros <[email protected]>
1 parent ccf2c4c commit 5a3c831

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

extras/library_generation/library_generation.sh

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -54,21 +54,6 @@ pushd firmware/mcu_ws > /dev/null
5454

5555
popd > /dev/null
5656

57-
cd firmware
58-
echo "" > /project/built_packages
59-
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;
60-
61-
cd /project
62-
if [[ `git diff-index --name-only HEAD | grep built_packages` ]]; then
63-
echo "Changes detected"
64-
else
65-
echo "No changes detected"
66-
exit 0
67-
fi
68-
69-
cd /uros_ws
70-
71-
7257
######## Clean and source ########
7358
find /project/src/ ! -name micro_ros_arduino.h ! -name *.c ! -name *.cpp ! -name *.c.in -delete
7459

@@ -250,4 +235,4 @@ find firmware/mcu_ws/ros2 \( -name "*.srv" -o -name "*.msg" -o -name "*.action"
250235
find firmware/mcu_ws/extra_packages \( -name "*.srv" -o -name "*.msg" -o -name "*.action" \) | awk -F"/" '{print $(NF-2)"/"$NF}' >> /project/available_ros2_types
251236

252237
######## Fix permissions ########
253-
sudo chmod -R 777 .
238+
sudo chmod -R 777 .

0 commit comments

Comments
 (0)