summaryrefslogtreecommitdiff
path: root/scripts/makepkg.sh.in
diff options
context:
space:
mode:
authorSebastian Nowicki <sebnow@gmail.com>2008-05-28 03:22:08 +0800
committerDan McGee <dan@archlinux.org>2008-05-29 06:37:14 -0500
commitc33cabd6751d1d5903898c911701ce20cf77598d (patch)
treeaa8660f8d900091a24c5e0930c4210041fc83a96 /scripts/makepkg.sh.in
parent20ae871940b8b7f773b0fdc31f8e053cc3cf4884 (diff)
downloadpacman-c33cabd6751d1d5903898c911701ce20cf77598d.tar.xz
Use chown 0:0 instead of root.root
On BSD systems using a dot as a separator is not allowed. On Mac OSX it is deprecated. A colon should be used instead. BSD systems also use the "wheel" group instead of "root" to indicate the "super user" group. Both groups use the id of 0. Signed-off-by: Sebastian Nowicki <sebnow@gmail.com> Acked-by: Aaron Griffin <aaronmgriffin@gmail.com> Acked-by: Dan McGee <dan@archlinux.org> Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'scripts/makepkg.sh.in')
-rw-r--r--scripts/makepkg.sh.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index a312b493..762ae2be 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -635,8 +635,8 @@ extract_sources() {
done
if [ $EUID -eq 0 ]; then
- # chown all source files to root.root
- chown -R root.root "$srcdir"
+ # change perms of all source files to root user & root group
+ chown -R 0:0 "$srcdir"
fi
}