Fiw webapp/install rule.
[src/xds/xds-server.git] / Makefile
index c13e1e5..29a33a8 100644 (file)
--- 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: