summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2016-01-23 23:16:32 (EST)
committer P. J. McDermott <pj@pehjota.net>2016-01-23 23:16:32 (EST)
commit2847b2ee202e338ec511336065decd705e4cd565 (patch)
tree02199dec9825475baf20949b57553b5e8e625903 /src
parent60285d4994513e5613ae390f15bbcacc811509ed (diff)
2/build.mk: Skip empty directories
Diffstat (limited to 'src')
-rw-r--r--src/2/build.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/2/build.mk b/src/2/build.mk
index eef0ed2..76bcadc 100644
--- a/src/2/build.mk
+++ b/src/2/build.mk
@@ -10,6 +10,7 @@ build:
install: build
set -e; \
+ [ -d src/build/ ] || exit 0; \
for pkg in src/build/*; do \
pkg="$${pkg#src/build/}"; \
for ver in "src/build/$${pkg}/"*; do \
@@ -19,6 +20,7 @@ install: build
done; \
done
set -e; \
+ [ -d src/run/ ] || exit 0; \
for pkg in src/run/*; do \
pkg="$${pkg#src/run/}"; \
mkdir "config-$${pkg}.data"; \