summaryrefslogtreecommitdiffstats
path: root/bin/dosbin
diff options
context:
space:
mode:
Diffstat (limited to 'bin/dosbin')
-rwxr-xr-xbin/dosbin2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/dosbin b/bin/dosbin
index 9cae684a8..30aa7893c 100755
--- a/bin/dosbin
+++ b/bin/dosbin
@@ -16,7 +16,7 @@ ret=0
for x in "$@" ; do
if [[ -e ${x} ]] ; then
- install -m0755 -o ${PORTAGE_INST_UID} -g ${PORTAGE_INST_GID} "${x}" "${D}${DESTTREE}/sbin"
+ install -m0755 -o ${PORTAGE_INST_UID:-0} -g ${PORTAGE_INST_GID:-0} "${x}" "${D}${DESTTREE}/sbin"
else
echo "!!! ${0##*/}: ${x} does not exist" 1>&2
false