From bb34a059939273ef71fa067feff357a6278820e2 Mon Sep 17 00:00:00 2001 From: Sebastien Douheret Date: Wed, 25 Jul 2018 18:26:38 +0200 Subject: [PATCH] Ignored webapp/install error when DESTDIR doesn't exist Change-Id: I80e79fc350a1905cb3c4a98ef0a7cf0659a18c88 Signed-off-by: Sebastien Douheret --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 99fbb55..705b670 100644 --- a/Makefile +++ b/Makefile @@ -149,7 +149,7 @@ webapp: webapp/install webapp/install: (cd webapp && npm install) - @[ -d ${DESTDIR}/usr ] && { echo "Removing unwanted ${DESTDIR}/usr directory"; rm -rf ${DESTDIR}/usr; } + @[ -d ${DESTDIR}/usr ] && { echo "Removing unwanted ${DESTDIR}/usr directory"; rm -rf ${DESTDIR}/usr; } || true .PHONY: scripts scripts: -- 2.16.6