From 3a00326d2ebaede5710fef4a7d8869caf650170f Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sun, 08 Nov 2020 13:09:08 -0500 Subject: src/*/build.mk: Fix error on missing directories Error introduced by commit 6e46a695. --- diff --git a/changelog b/changelog index 12b4ef4..7296b8c 100644 --- a/changelog +++ b/changelog @@ -1,3 +1,10 @@ +platconf-pkg-tools (3.0.1) trunk + + * build.mk files no longer throw an error when or + is missing. + + -- Patrick McDermott Sun, 08 Nov 2020 13:08:46 -0500 + platconf-pkg-tools (3.0.0) trunk * New incompatible interface version 3: diff --git a/src/2/build.mk b/src/2/build.mk index 305e398..f53646f 100644 --- a/src/2/build.mk +++ b/src/2/build.mk @@ -40,5 +40,5 @@ install-run: done install: - [ -d src/build/ ] && $(MAKE) -f $0 install-build - [ -d src/run/ ] && $(MAKE) -f $0 install-run + if [ -d src/build/ ]; then $(MAKE) -f $0 install-build; fi + if [ -d src/run/ ]; then $(MAKE) -f $0 install-run ; fi diff --git a/src/3/build.mk b/src/3/build.mk index 65d177d..2d23d3d 100644 --- a/src/3/build.mk +++ b/src/3/build.mk @@ -36,5 +36,5 @@ install-run: done install: - [ -d src/build/ ] && $(MAKE) -f $0 install-build - [ -d src/run/ ] && $(MAKE) -f $0 install-run + if [ -d src/build/ ]; then $(MAKE) -f $0 install-build; fi + if [ -d src/run/ ]; then $(MAKE) -f $0 install-run ; fi -- cgit v0.9.1