From 37a60e10a77344c43ca28b0da1436fc2c4d3fe0b Mon Sep 17 00:00:00 2001 From: Tully Foote Date: Tue, 23 Apr 2024 16:43:41 -0700 Subject: [PATCH] Update commit_protos.bash Abort on missing LICENSE file The last ones are being triaged in #8 --- commit_protos.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commit_protos.bash b/commit_protos.bash index 5e122a1..b7f9d33 100755 --- a/commit_protos.bash +++ b/commit_protos.bash @@ -38,8 +38,8 @@ for pd in $package_dirs; do license_file=$(dirname $pd)/LICENSE fi if ! [ -f $license_file ] ; then - echo NO license file at $license_file either, continuing - continue + echo NO license file at $license_file either aborting + exit -2 fi package=$(basename $pd) result_dir=results/${ROS_DISTRO}/${package}/