summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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