index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
author | Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> | 2013-05-03 14:23:04 +0200 |
---|---|---|
committer | Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> | 2013-05-06 01:51:06 +0200 |
commit | 4dcdbcaf1eff0962522a04710817156ce4d44b9e (patch) | |
tree | 2ca3864877ed243ff847f36457f84e3cc456aefb | |
parent | 1489f754197a7a013e17328f9cb2fb3d2e5bdfe9 (diff) |
-rw-r--r-- | makechrootpkg.in | 5 |
diff --git a/makechrootpkg.in b/makechrootpkg.in index 0d93c2e..862e6bc 100644 --- a/makechrootpkg.in +++ b/makechrootpkg.in @@ -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 |