diff --git a/include/fw/inject.sh b/include/fw/inject.sh index 0760c1d8..29584e0a 100644 --- a/include/fw/inject.sh +++ b/include/fw/inject.sh @@ -175,7 +175,8 @@ modify_mac() x_ "$nvmutil" "$xbtmp/gbe" setmac "$new_mac" fi - fx_ newmac x_ find "$tmpromdir" -maxdepth 1 -type f -name "*.rom" + fx_ newmac x_ find "$tmpromdir" -mindepth 1 -maxdepth 1 \ + -type f -name "*.rom" printf "\nThe following GbE NVM data will be written:\n" x_ "$nvmutil" "$xbtmp/gbe" dump | grep -v "bytes read from file" || : diff --git a/include/fw/vendor.sh b/include/fw/vendor.sh index 10daeca3..7c8f9f2c 100644 --- a/include/fw/vendor.sh +++ b/include/fw/vendor.sh @@ -436,7 +436,8 @@ getvfile() else # inject vendor files - fx_ prep x_ find "$tmpromdir" -maxdepth 1 -type f -name "*.rom" + fx_ prep x_ find "$tmpromdir" -mindepth 1 -maxdepth 1 \ + -type f -name "*.rom" ( check_vendor_hashes ) || \ err "$archive: Can't verify hashes" "getvfile" "$@"; : fi diff --git a/include/mk/release.sh b/include/mk/release.sh index f0dc4864..e713ae64 100644 --- a/include/mk/release.sh +++ b/include/mk/release.sh @@ -109,7 +109,8 @@ prep_release_bin() x_ ./mk -b stm32-vserprog x_ ./mk -b pcsx-redux - fx_ mkrom_tarball x_ find bin -maxdepth 1 -type d -name "serprog_*" + fx_ mkrom_tarball x_ find bin -mindepth 1 -maxdepth 1 \ + -type d -name "serprog_*" x_ mv bin ../roms }