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