From 2847b2ee202e338ec511336065decd705e4cd565 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 23 Jan 2016 23:16:32 -0500 Subject: 2/build.mk: Skip empty directories --- (limited to 'src') 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"; \ -- cgit v0.9.1