diff options
author | Patrick 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) |
commit | c5e153035868065b755268062de23f4182896141 (patch) | |
tree | 208a9dc144f1b7cc0d51b82f0ec50bc90100996e /src | |
parent | 1ef83b3d76a9cc6b1d18386e5745c599059b9dc6 (diff) |
src/*/build.mk: Only process existing directories
Diffstat (limited to 'src')
-rw-r--r-- | src/2/build.mk | 2 | ||||
-rw-r--r-- | src/3/build.mk | 2 |
2 files changed, 4 insertions, 0 deletions
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"; \ |