mirror of
https://github.com/obgm/libcoap.git
synced 2026-10-30 22:45:49 +03:00
22 lines
366 B
Bash
Executable File
22 lines
366 B
Bash
Executable File
#/bin/bash
|
|
|
|
#
|
|
# Check if there are any missing file updates
|
|
#
|
|
|
|
make update-map-file > /dev/null
|
|
|
|
git diff > diff_check
|
|
|
|
WC=`cat diff_check | wc -l`
|
|
if [ $WC != 0 ] ; then
|
|
echo
|
|
echo "Please correct the following files that were changed by"
|
|
echo "./configure (by updating its master file)"
|
|
echo "or 'make update-map-file'."
|
|
echo
|
|
cat diff_check
|
|
exit 1
|
|
fi
|
|
exit 0
|