summaryrefslogtreecommitdiff
path: root/makechrootpkg.in
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-08-14 14:49:17 +0200
committerErich Eckner <git@eckner.net>2017-08-14 14:49:17 +0200
commit5a54a5668a536e280674085772d20b2f3d3dca6d (patch)
tree1f78bd6165e54ddd5380008a60bcb556ea0b045b /makechrootpkg.in
parent79c4b2c8f248ba35785b285470f4be6b7ab2e1e5 (diff)
downloaddevtools32-5a54a5668a536e280674085772d20b2f3d3dca6d.tar.xz
makechrootpkg.in: set correct ownership of WORKDIRv20170814archlinux32/v20170814
Diffstat (limited to 'makechrootpkg.in')
-rw-r--r--makechrootpkg.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/makechrootpkg.in b/makechrootpkg.in
index 13d6eb2..eb5a4ad 100644
--- a/makechrootpkg.in
+++ b/makechrootpkg.in
@@ -268,6 +268,7 @@ download_sources() {
local makepkg_user=$2
setup_workdir
+ chown "$makepkg_user" "$WORKDIR"
# Ensure sources are downloaded
sudo -u "$makepkg_user" env SRCDEST="$SRCDEST" BUILDDIR="$WORKDIR" \