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. --- (limited to 'src') 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