X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/05a1b863a66bf72b26e5d87570c4e0e61b9736cd..cd4a5fcb0685b8a12915d22efc5c1e0cc8b40d9b:/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