summaryrefslogtreecommitdiffstats
path: root/src/3/build.mk
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2020-07-16 20:54:09 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2020-07-16 20:54:09 (EDT)
commitc5e153035868065b755268062de23f4182896141 (patch)
tree208a9dc144f1b7cc0d51b82f0ec50bc90100996e /src/3/build.mk
parent1ef83b3d76a9cc6b1d18386e5745c599059b9dc6 (diff)
src/*/build.mk: Only process existing directories
Diffstat (limited to 'src/3/build.mk')
-rw-r--r--src/3/build.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/3/build.mk b/src/3/build.mk
index 92412d7..65d177d 100644
--- a/src/3/build.mk
+++ b/src/3/build.mk
@@ -12,6 +12,7 @@ ppt-mkpkgs ppt-rmpkgs:
install-build:
set -e; \
for pkg_ver in src/build/*/; do \
+ [ -d "$${pkg_ver}" ] || continue; \
pkg_ver="$${pkg_ver#src/build/}"; \
pkg_ver="$${pkg_ver%/}"; \
pkg="$${pkg_ver%_*}"; \
@@ -22,6 +23,7 @@ install-build:
install-run:
set -e; \
for pkg in src/run/*/; do \
+ [ -d "$${pkg}" ] || continue; \
pkg="$${pkg#src/run/}"; \
pkg="$${pkg%/}"; \
mkdir "config-$${pkg}.data"; \