From 15cbd51d3715b26cc1fe692259d8dc11cc9796c7 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Thu, 02 Aug 2012 23:36:41 -0400 Subject: Fix binary package directory substring removal. --- 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 -- cgit v0.9.1