mirror of
https://github.com/systemd/systemd
synced 2025-10-06 00:13:24 +02:00
mkosi: Fix arch build script version sed expression
Yours truly got rid of the _tag variable in the Arch Linux PKGBUILD a while ago, so actually adapt the build script to that by changing the pkgver= variable instead. (cherry picked from commita0ca911d63
) (cherry picked from commit9c6be09b23
)
This commit is contained in:
committed by
Luca Boccassi
parent
64593b164d
commit
2bf1dd9c87
@@ -65,7 +65,7 @@ EOF
|
||||
TS="${SOURCE_DATE_EPOCH:-$(date +%s)}"
|
||||
|
||||
sed --in-place "pkg/$PKG_SUBDIR/PKGBUILD" \
|
||||
--expression "s/^_tag=.*/_tag=$(cat meson.version)/" \
|
||||
--expression "s/^pkgver=.*/pkgver=$(cat meson.version)/" \
|
||||
--expression "s/^pkgrel=.*/pkgrel=$(date "+%Y%m%d%H%M%S" --date "@$TS")/"
|
||||
|
||||
# We get around makepkg's root check by setting EUID to something else.
|
||||
|
Reference in New Issue
Block a user