summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2021-01-13 04:29:54 (EST)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2021-01-13 04:31:20 (EST)
commit9461334b3ce610f86b2a3e1aa13aa0cf24de6365 (patch)
tree52a89c72f13afdf386298f91df86e82f45b6967c
parenta7eb76327583cd9cec891784ab848742570b41ac (diff)
ppt-mkpkgs, ppt-rmpkgs: Fix ppt-version loading
Fixes: /usr/bin/ppt-mkpkgs: .: line 3: ppt-version: not found
-rw-r--r--changelog2
-rw-r--r--src/ppt-mkpkgs2
-rw-r--r--src/ppt-rmpkgs2
3 files changed, 4 insertions, 2 deletions
diff --git a/changelog b/changelog
index 15199cc..1d22ca9 100644
--- a/changelog
+++ b/changelog
@@ -5,6 +5,8 @@ platconf-pkg-tools (3.0.1) trunk
* ppt-mkpkgs now always generates valid substitution variable names.
Previously, package names like "linux-libre-4.19" caused invalid
substvar names to be generated.
+ * ppt-mkpkgs and ppt-rmpkgs now correctly detect the interface
+ version.
-- Patrick McDermott <patrick.mcdermott@libiquity.com> Sun, 08 Nov 2020 13:08:46 -0500
diff --git a/src/ppt-mkpkgs b/src/ppt-mkpkgs
index 2b0d437..4aba148 100644
--- a/src/ppt-mkpkgs
+++ b/src/ppt-mkpkgs
@@ -1,4 +1,4 @@
#!/bin/sh
-. ppt-version
+. ./ppt-version
. /usr/share/platconf-pkg-tools/${ppt_version}/ppt-mkpkgs
diff --git a/src/ppt-rmpkgs b/src/ppt-rmpkgs
index 2f5cf71..e766792 100644
--- a/src/ppt-rmpkgs
+++ b/src/ppt-rmpkgs
@@ -1,4 +1,4 @@
#!/bin/sh
-. ppt-version
+. ./ppt-version
. /usr/share/platconf-pkg-tools/${ppt_version}/ppt-rmpkgs