Mercurial > dropbear
view libtomcrypt/updatemakes.sh @ 1804:f0cd000f3bca
Prevent multiple shells being spawned
Existing shells would be leaked.
The old check only caught multiple commands, not shells.
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sat, 06 Mar 2021 23:06:43 +0800 |
parents | 6dba84798cd5 |
children |
line wrap: on
line source
#!/bin/bash ./helper.pl --update-makefiles || exit 1 makefiles=(makefile makefile_include.mk makefile.shared makefile.unix makefile.mingw makefile.msvc) vcproj=(libtomcrypt_VS2008.vcproj) if [ $# -eq 1 ] && [ "$1" == "-c" ]; then git add ${makefiles[@]} ${vcproj[@]} doc/Doxyfile && git commit -m 'Update makefiles' fi exit 0