add '-c' option (again) to updatemakes.sh

This commit is contained in:
Steffen Jaeckel 2017-03-15 22:21:53 +01:00
parent 6df687403a
commit 9babf374ee

View File

@ -2,4 +2,11 @@
./helper.pl --update-makefiles || exit 1
makefiles=(makefile makefile.icc makefile.shared makefile.unix makefile.mingw makefile.msvc)
vcproj=(libtomcrypt_VS2008.vcproj libtomcrypt_VS2005.vcproj)
if [ $# -eq 1 ] && [ "$1" == "-c" ]; then
git add ${makefiles[@]} ${vcproj[@]} && git commit -m 'Update makefiles'
fi
exit 0