From 714fc2b8aeba3bd6af6e31338d9d62210ba44f0a Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Thu, 16 Jul 2020 19:31:09 -0400 Subject: src/3/build.mk: Fix macro and variable Fix for commit fbde88227aeafaba237e9358e5aa5805baaec5f7. --- (limited to 'src') 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 -- cgit v0.9.1