We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e4842c commit e51b9a8Copy full SHA for e51b9a8
scripts/ros-generate-cache.sh
@@ -123,6 +123,20 @@ if [ "$ROS_DISTRO" = "dashing" -o "$ROS_DISTRO" = "eloquent" ] ; then
123
fi
124
125
rosdistro_build_cache --debug --preclean --ignore-local $tmpdir/index-v4.yaml $ROS_DISTRO
126
+if [ $? -ne 0 ]; then
127
+ echo "ABORT: rosdistro_build_cache returned a runtime error"
128
+ exit 1
129
+fi
130
+
131
+if [ ! -f $tmpdir/index-v4.yaml ]; then
132
+ echo "ABORT: $tmpdir/index-v4.yaml could not be found."
133
134
135
136
+if [ ! -f $tmpdir/$ROS_DISTRO-cache.yaml.gz ]; then
137
+ echo "ABORT: $tmpdir/$ROS_DISTRO-cache.yaml.gz could not be found."
138
139
140
141
cd - > /dev/null
142
0 commit comments