proper-er shell usage
This commit is contained in:
parent
9b959408bb
commit
5601ecb988
13
prepare.sh
13
prepare.sh
@ -1,9 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
git submodule init
|
set +e
|
||||||
git submodule update
|
|
||||||
cd tools/mmd
|
git submodule update --init --recursive
|
||||||
make release
|
|
||||||
cd build
|
(cd tools/mmd && make release)
|
||||||
make
|
(cd tools/mmd/build && make)
|
||||||
cd ../..
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set +e
|
||||||
|
|
||||||
for cur in ./html/{*,*/*,*/*/*}; do
|
for cur in ./html/{*,*/*,*/*/*}; do
|
||||||
if [ -f "$cur" ] && [[ ! "$cur" == *.upload-checksum ]]; then
|
if [ -f "$cur" ] && [[ ! "$cur" == *.upload-checksum ]]; then
|
||||||
if [ -f "$cur.upload-checksum" ]; then
|
if [ -f "$cur.upload-checksum" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user