From 65446fc1ccf77df6801b60856bf062709910af27 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Javier=20Fern=C3=A1ndez-Sanguino?= Date: Wed, 10 May 2017 22:12:10 +0000 Subject: [PATCH] Fix logic git-svn-id: https://projectaon.org/data/trunk@2632 f6f3e2d7-ff33-0410-aaf5-b4bee2cdac11 --- common/epub/Makefile.common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/epub/Makefile.common b/common/epub/Makefile.common index 3f41a6c..4757825 100644 --- a/common/epub/Makefile.common +++ b/common/epub/Makefile.common @@ -108,7 +108,7 @@ $(EPUB): $(AONROOTDIR)/$(BLANG)/epub/$(SERIES)/$(BASENAME)/$(EPUB) @if [ -e $(ALTCOVERIMAGE) ] && [ ! -e $(COVERIMAGE) ] ; then \ ebook-convert $(EPUB) regen_$(EPUB) --cover $(ALTCOVERIMAGE) ; \ fi - @if [ ! -e $(COVERIMAGE) ] ; then \ + @if [ -e $(COVERIMAGE) ] ; then \ ebook-convert $(EPUB) regen_$(EPUB) --cover $(COVERIMAGE) ; \ fi @if [ ! -e $(ALTCOVERIMAGE) ] && [ ! -e $(COVERIMAGE) ] ; then \ -- 2.17.1