From b8a4f9798f2fca741f0eef3a029f1fa09bb5823c Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 18 Mar 2006 20:29:55 +0000 Subject: Make PORTAGE_INST_UID and PORTAGE_INST_GID default to 0 in case of environment problems. svn path=/main/trunk/; revision=2942 --- bin/dosbin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/dosbin') 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 -- cgit v1.2.3-1-g7c22