summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmakechrootpkg2
1 files changed, 2 insertions, 0 deletions
diff --git a/makechrootpkg b/makechrootpkg
index c73b468..572a215 100755
--- a/makechrootpkg
+++ b/makechrootpkg
@@ -179,6 +179,7 @@ for f in ${source[@]}; do
fi
done
+( . PKGBUILD
for i in 'changelog' 'install'; do
filelist=$(sed -n "s/^[[:space:]]*$i=//p" PKGBUILD)
for file in $filelist; do
@@ -189,6 +190,7 @@ for i in 'changelog' 'install'; do
fi
done
done
+)
chown -R nobody "$copydir/build"
chown -R nobody "$copydir/srcdest"