From d21eb59c4f7fe9844646bd60ac34aa1d3cbb792f Mon Sep 17 00:00:00 2001 From: Sebastien Douheret Date: Tue, 20 Jun 2017 20:48:33 +0200 Subject: Fiw webapp/install rule. test xxx && yyy doesn't work because "&&" characters seems interpreted by make. Workaround is to write test statement with if syntax. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c13e1e5..29a33a8 100644 --- a/Makefile +++ b/Makefile @@ -119,7 +119,7 @@ webapp/debug: webapp/install: (cd webapp && npm install) - @test -d ${DESTDIR}/usr/local/etc && rm -rf ${DESTDIR}/usr + @if [ -d ${DESTDIR}/usr/local/etc ]; then rm -rf ${DESTDIR}/usr; fi .PHONY: scripts scripts: -- cgit 1.2.3-korg