Skip to content
Snippets Groups Projects
Commit 4dcdbcaf authored by Jan Alexander Steffens (heftig)'s avatar Jan Alexander Steffens (heftig)
Browse files

makechrootpkg: Ensure we have a writable PKGBUILD

For pkgver updates.
parent 1489f754
No related branches found
No related tags found
No related merge requests found
......@@ -247,6 +247,11 @@ shopt -s nullglob
ln -sft /srcdest /srcdest_host/*
ln -sft /startdir /startdir_host/*
# Keep PKGBUILD writable for pkgver()
rm /startdir/PKGBUILD*
cp /startdir_host/PKGBUILD* /startdir
chown nobody /startdir/PKGBUILD*
cd /startdir
sudo -u nobody makepkg $makepkg_args || exit 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment