summaryrefslogtreecommitdiff
path: root/script/vendor
diff options
context:
space:
mode:
Diffstat (limited to 'script/vendor')
-rwxr-xr-xscript/vendor/inject3
1 files changed, 2 insertions, 1 deletions
diff --git a/script/vendor/inject b/script/vendor/inject
index 1f1d0209..3f75a9da 100755
--- a/script/vendor/inject
+++ b/script/vendor/inject
@@ -124,7 +124,8 @@ patch_release_roms()
done
(
- x_ cd "${_tmpdir}/bin/"* # TODO: very dodgy, re-write accordingly
+ cd "${_tmpdir}/bin/"* || \
+ err "patch_release_roms: !cd ${_tmpdir}/bin/*"
# NOTE: For compatibility with older rom releases, defer to sha1
[ "${nukemode}" = "nuke" ] || sha512sum --status -c vendorhashes || \