Skip to content
Snippets Groups Projects
Commit a26416dc authored by Pierre Schmitz's avatar Pierre Schmitz
Browse files

makechrootpkg: do not run namcap as root

parent 37bb1d33
No related branches found
No related tags found
No related merge requests found
...@@ -275,7 +275,7 @@ if $run_namcap; then ...@@ -275,7 +275,7 @@ if $run_namcap; then
pacman -S --needed --noconfirm namcap pacman -S --needed --noconfirm namcap
for pkgfile in /build/PKGBUILD /pkgdest/*.pkg.tar.?z; do for pkgfile in /build/PKGBUILD /pkgdest/*.pkg.tar.?z; do
echo "Checking \${pkgfile##*/}" echo "Checking \${pkgfile##*/}"
namcap "\$pkgfile" 2>&1 | tee "/build/\${pkgfile##*/}-namcap.log" sudo -u nobody namcap "\$pkgfile" 2>&1 | tee "/build/\${pkgfile##*/}-namcap.log"
done done
fi fi
......
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