summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-08-02 23:36:41 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-08-02 23:36:41 (EDT)
commit15cbd51d3715b26cc1fe692259d8dc11cc9796c7 (patch)
tree983d0fe8fea9dc289049324c5af64049bf9a3e9c
parentf3174d56323ce9ce7c70a47e92897f79205e7a32 (diff)
Fix binary package directory substring removal.
-rw-r--r--src/opkbuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opkbuild.sh b/src/opkbuild.sh
index 804d97f..56a359b 100644
--- a/src/opkbuild.sh
+++ b/src/opkbuild.sh
@@ -409,7 +409,7 @@ step_bincontrol()
for pkg in ../*.pkg/; do
pkg="${pkg#../}"
- pkg="${pkg%/}"
+ pkg="${pkg%.pkg/}"
oh_control_parse_binary "${pkg}"
for field in ${OH_CONTROL_BINARY_FIELDS_REQUIRED} \
${OH_CONTROL_BINARY_FIELDS_OPTIONAL}; do