updated check_license_exists.sh

pull/2/head
Hari Sekhon 3 years ago
parent 89bf84d2be
commit 4cfd959666

@ -44,9 +44,12 @@ cd "$git_root"
for x in LICENSE LICENSE.txt; do
if [ -s "$x" ]; then
echo "OK: $x file found"
break
exit 0
elif [ -f "$x" ]; then
echo "WARNING: $x file found but it is empty! "
exit 1
fi
done
echo 'LICENSE file not found!'
exit 1

Loading…
Cancel
Save