aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/build2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build b/scripts/build
index c8b2ad0..c6f32e2 100755
--- a/scripts/build
+++ b/scripts/build
@@ -310,7 +310,7 @@ if [ "$#" -lt "1" ]; then
if [ "${PWD##${BUILDER_PKGDIR}/}" != "${PWD}" ]; then
category="${PWD##${BUILDER_PKGDIR}/}"
if [ "${category%%/*}" != "${category}" ]; then
- name="${category##*/}"
+ name="${category#*/}"
category="${category%%/*}"
NAME="${category}/${name%%/*}"
else