CI: fix building multi-arch-test-build
authorNick Hainke <vincent@systemli.org>
Wed, 2 Jun 2021 21:47:48 +0000 (23:47 +0200)
committerNick Hainke <vincent@systemli.org>
Sat, 26 Feb 2022 16:23:43 +0000 (17:23 +0100)
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>
(cherry picked from commit b65879895a0acb2a47b2d8c87afde6236ea0157c)

.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