CI: fix building multi-arch-test-build
authorNick Hainke <vincent@systemli.org>
Wed, 2 Jun 2021 21:47:48 +0000 (23:47 +0200)
committerMoritz Warning <moritzwarning@web.de>
Wed, 2 Jun 2021 22:07:41 +0000 (00:07 +0200)
The sed is adding the package name as "PKGNAME/" and does not remove
the "/". That is why the buildchain currently fails.

Signed-off-by: Nick Hainke <vincent@systemli.org>
.github/workflows/multi-arch-test-build.yml

index a10be99cc2f8d04dbe9ee9a2087edfe0b44a504e..f254a8dcc11e017b77fc27c8520397b34f00994c 100644 (file)
@@ -69,7 +69,7 @@ jobs:
           for ROOT in $PKG_ROOTS; do
             for CHANGE in $CHANGES; do
               if [[ "$CHANGE" == "$ROOT"* ]]; then
-                PACKAGES+=$(echo "$ROOT" | sed -e 's@.*/\(.*\)/@\1 @')
+                PACKAGES+=$(echo "$ROOT" | sed -e 's@\(.*\)/@\1 @')
                 break
               fi
             done