summaryrefslogtreecommitdiffstats
path: root/src/3/build.mk
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2020-07-16 19:31:09 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2020-07-16 19:32:18 (EDT)
commit714fc2b8aeba3bd6af6e31338d9d62210ba44f0a (patch)
treeefd58e2d700a74092a02280535fadfab0b0f2659 /src/3/build.mk
parentf556d99fcadec3ffdffc2169c17607108d1a927d (diff)
src/3/build.mk: Fix macro and variable
Fix for commit fbde88227aeafaba237e9358e5aa5805baaec5f7.
Diffstat (limited to 'src/3/build.mk')
-rw-r--r--src/3/build.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/3/build.mk b/src/3/build.mk
index 04ee19c..df18c9d 100644
--- a/src/3/build.mk
+++ b/src/3/build.mk
@@ -1,6 +1,6 @@
ppt_plat = $${OPK_SOURCE\#config-}
ppt_pkg_dir = config-$${pkg}-$(ppt_plat).data
-ppt_platconf_dir = $(ppt_pkg_dir)/usr/share/platconf/$(ppt_plat)/$${pkg}_$${ver}
+ppt_platconf_dir = $(ppt_pkg_dir)/usr/share/platconf/$(ppt_plat)/$${pkg_ver}
0 = /usr/share/platconf-pkg-tools/$(ppt_version)/build.mk
nop build:
@@ -14,6 +14,7 @@ install-build:
for pkg_ver in src/build/*/; do \
pkg_ver="$${pkg#src/build/}"; \
pkg_ver="$${pkg_ver%/}"; \
+ pkg="$${pkg_ver%_*}"; \
mkdir -p "$(ppt_platconf_dir)"; \
cp -p "src/build/$${pkg_ver}/"* "$(ppt_platconf_dir)"; \
done