summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-01-22 02:14:59 (EST)
committer P. J. McDermott <pjm@nac.net>2012-01-22 02:14:59 (EST)
commitf7fedd6ccaeaea10c74e9e71b834ce60b5fdc862 (patch)
tree80d5f7779dc5c0b709b90fd0ae563d9ecaef0f53 /src
parent31e5d50cabcd78624e2c2984b41dfc37ec9200f0 (diff)
Make build cleanup run as UID 0.
Diffstat (limited to 'src')
-rw-r--r--src/opkbuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opkbuild b/src/opkbuild
index 729a26a..a3163ad 100644
--- a/src/opkbuild
+++ b/src/opkbuild
@@ -133,7 +133,7 @@ for binpkgdir in ../*.pkg/; do
*.buildstamp)
;;
*)
- rm -Rf ${file} || error "${binpkg}"
+ ${uid0_cmd} rm -Rf ${file} || error "${binpkg}"
;;
esac
done