diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2020-11-08 13:09:08 (EST) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2020-11-08 13:30:00 (EST) |
commit | 3a00326d2ebaede5710fef4a7d8869caf650170f (patch) | |
tree | f86cf92718205c6f9ff74825a50b7841a35563a4 | |
parent | bbc67ca23cc75fc45b00d846e1319d3246cfb34a (diff) |
src/*/build.mk: Fix error on missing directories
Error introduced by commit 6e46a695.
-rw-r--r-- | changelog | 7 | ||||
-rw-r--r-- | src/2/build.mk | 4 | ||||
-rw-r--r-- | src/3/build.mk | 4 |
3 files changed, 11 insertions, 4 deletions
@@ -1,3 +1,10 @@ +platconf-pkg-tools (3.0.1) trunk + + * build.mk files no longer throw an error when <src/build/> or + <src/run/> is missing. + + -- Patrick McDermott <patrick.mcdermott@libiquity.com> 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 |