Complain if hints file does not exist

This commit is contained in:
Pasi Kallinen
2017-10-10 17:50:39 +03:00
parent 7f495a1ee3
commit e2b367102a

View File

@@ -26,6 +26,11 @@ x) hints=/dev/null
;;
esac
if [ ! -f "$hints" ]; then
echo "Cannot find hints file $hfile"
exit 1
fi
/bin/sh ./mkmkfile.sh Makefile.top TOP ../../Makefile $hints $hfile
/bin/sh ./mkmkfile.sh Makefile.dat DAT ../../dat/Makefile $hints $hfile
/bin/sh ./mkmkfile.sh Makefile.doc DOC ../../doc/Makefile $hints $hfile