mkosi: Fix environment variable in arch prepare script

This commit is contained in:
Daan De Meyer
2024-04-08 11:35:38 +02:00
parent 8440ea8f21
commit da38f93bd6

View File

@@ -20,7 +20,7 @@ sed --expression 's/^[ \t]*//' "pkg/$PKG_SUBDIR/.SRCINFO" |
# We get makedepends from the PKGBUILD as .SRCINFO can't encode conditional dependencies depending on
# whether some environment variable is set or not.
# shellcheck source=/dev/null
UPSTREAM=1 . "pkg/$PKG_SUBDIR/PKGBUILD"
_systemd_UPSTREAM=1 . "pkg/$PKG_SUBDIR/PKGBUILD"
# shellcheck disable=SC2154
mkosi-install "${makedepends[@]}"