summaryrefslogtreecommitdiff
path: root/script/build
diff options
context:
space:
mode:
Diffstat (limited to 'script/build')
-rwxr-xr-xscript/build/roms7
1 files changed, 3 insertions, 4 deletions
diff --git a/script/build/roms b/script/build/roms
index 39808098..03dce95e 100755
--- a/script/build/roms
+++ b/script/build/roms
@@ -164,9 +164,8 @@ build_dependency_seabios()
build_dependency_grub()
{
- [ "${payload_grub}" != "y" ] && \
- [ "${payload_seabios_withgrub}" != "y" ] && \
- [ "${payload_seabios_grubonly}" != "y" ] && return 0
+ [ "$payload_grub" != "y" ] && [ "$payload_seabios_withgrub" != "y" ] \
+ && [ "${payload_seabios_grubonly}" != "y" ] && return 0
rebuild_grub="n"
[ -f "${grubelf}" ] || rebuild_grub="y"
@@ -418,7 +417,7 @@ moverom() {
[ "${vendorfiles}" = "n" ] && newrom="${newrom%.rom}_noblobs.rom"
printf "Creating target image: %s\n" "${newrom}"
- [ -d "${newrom%/*}" ] || x_ mkdir -p "${newrom%/*}/"
+ x_ mkdir -p "${newrom%/*}"
x_ cp "${rompath}" "${newrom}"
}