summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-03-02 00:18:10 +0000
committerMike Frysinger <vapier@gentoo.org>2006-03-02 00:18:10 +0000
commit00afb620b8bb4551b236963aa5ee450973bf0008 (patch)
tree44834e644103bde0cbb682a1d71158415a29d2ed
parentafe8d36504fe1452b0ad27b35baf39a5b7c27e7b (diff)
downloadportage-00afb620b8bb4551b236963aa5ee450973bf0008.tar.gz
portage-00afb620b8bb4551b236963aa5ee450973bf0008.tar.bz2
portage-00afb620b8bb4551b236963aa5ee450973bf0008.zip
just use group 0 to workaround broken systems #124568
svn path=/main/trunk/; revision=2803
-rwxr-xr-xbin/dobin7
-rwxr-xr-xbin/dosbin7
2 files changed, 2 insertions, 12 deletions
diff --git a/bin/dobin b/bin/dobin
index 9624c8a40..634f27731 100755
--- a/bin/dobin
+++ b/bin/dobin
@@ -12,16 +12,11 @@ if [[ ! -d ${D}${DESTTREE}/bin ]] ; then
install -d "${D}${DESTTREE}/bin" || exit 2
fi
-case ${CHOST} in
- *-freebsd*) group=wheel ;;
- *) group=root ;;
-esac
-
ret=0
for x in "$@" ; do
if [[ -e ${x} ]] ; then
- install -m0755 -o root -g ${group} "${x}" "${D}${DESTTREE}/bin"
+ install -m0755 -o root -g 0 "${x}" "${D}${DESTTREE}/bin"
else
echo "!!! ${0##*/}: ${x} does not exist" 1>&2
false
diff --git a/bin/dosbin b/bin/dosbin
index 0e67275f8..426b93190 100755
--- a/bin/dosbin
+++ b/bin/dosbin
@@ -12,16 +12,11 @@ if [[ ! -d ${D}${DESTTREE}/sbin ]] ; then
install -d "${D}${DESTTREE}/sbin" || exit 2
fi
-case ${CHOST} in
- *-freebsd*) group=wheel ;;
- *) group=root ;;
-esac
-
ret=0
for x in "$@" ; do
if [[ -e ${x} ]] ; then
- install -m0755 -o root -g ${group} "${x}" "${D}${DESTTREE}/sbin"
+ install -m0755 -o root -g 0 "${x}" "${D}${DESTTREE}/sbin"
else
echo "!!! ${0##*/}: ${x} does not exist" 1>&2
false