From c5e153035868065b755268062de23f4182896141 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Thu, 16 Jul 2020 20:54:09 -0400 Subject: src/*/build.mk: Only process existing directories --- (limited to 'src') diff --git a/src/2/build.mk b/src/2/build.mk index aa5b841..305e398 100644 --- a/src/2/build.mk +++ b/src/2/build.mk @@ -12,6 +12,7 @@ ppt-mkpkgs ppt-rmpkgs: install-build: set -e; \ for pkg in src/build/*/; do \ + [ -d "$${pkg}" ] || continue; \ pkg="$${pkg#src/build/}"; \ pkg="$${pkg%/}"; \ for ver in "src/build/$${pkg}/"*/; do \ @@ -26,6 +27,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"; \ 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"; \ -- cgit v0.9.1