update: Fix pulling.

This commit is contained in:
William Floyd 2020-03-13 08:04:46 +01:00
parent 3b7a813180
commit 3c2d07352d
Signed by untrusted user who does not match committer: william
GPG key ID: B3EEEDD81893CAF9

View file

@ -1,13 +1,11 @@
#!/bin/bash #!/bin/bash
git pull git pull --recurse-submodules
if [ -d './static/images/generated/' ]; then if [ -d './static/images/generated/' ]; then
rm -r './static/images/generated/' rm -r './static/images/generated/'
fi fi
git submodule update --remote --merge
find src -iname '*.sh' | while read -r __file; do find src -iname '*.sh' | while read -r __file; do
time ./${__file} "$(dirname "${__file}")/" time ./${__file} "$(dirname "${__file}")/"
done done