X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/05a1b863a66bf72b26e5d87570c4e0e61b9736cd..d551fc2e3ca74e4678c744f86c1e8f5e191f624b:/IMG/mkcpio.sh diff --git a/IMG/mkcpio.sh b/IMG/mkcpio.sh index 517b55c..a6ac06c 100644 --- a/IMG/mkcpio.sh +++ b/IMG/mkcpio.sh @@ -2,6 +2,12 @@ VENTOY_PATH=$PWD/../ +if [ -e check.sh ]; then + if ! sh check.sh; then + exit 1 + fi +fi + rm -f ventoy.cpio chmod -R 777 cpio