make: Fix comparisons for sh compatibility

Thanks to @rw-r-r-0644 for this one
This commit is contained in:
Ash 2018-09-18 08:07:38 +10:00 committed by James
parent e950c6b937
commit f87b3f9347

View File

@ -91,7 +91,7 @@ WUT_RPLELF_SUFFIX := .elf
@echo ELF2RPL $(notdir $@)
$(Q)$(WUT_ELF2RPL) $(WUT_ELF2RPLFLAGS) $@$(WUT_RPLELF_SUFFIX) $@
# Unless we're told not to, delete the initial output file
$(Q)if [ "$(WUT_KEEP_RPLELF)" == "" ]; then \
$(Q)if [ "$(WUT_KEEP_RPLELF)" = "" ]; then \
rm -f $@$(WUT_RPLELF_SUFFIX); \
fi