summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick 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)
commit3a00326d2ebaede5710fef4a7d8869caf650170f (patch)
treef86cf92718205c6f9ff74825a50b7841a35563a4 /src
parentbbc67ca23cc75fc45b00d846e1319d3246cfb34a (diff)
src/*/build.mk: Fix error on missing directories
Error introduced by commit 6e46a695.
Diffstat (limited to 'src')
-rw-r--r--src/2/build.mk4
-rw-r--r--src/3/build.mk4
2 files changed, 4 insertions, 4 deletions
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