# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/targets/grp/Attic/grp.sh,v 1.2 2003/11/09 01:55:48 drobbins Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/targets/grp/Attic/grp.sh,v 1.3 2004/01/07 18:01:46 drobbins Exp $
case $1 in
enter)
then
unset DISTDIR
export PKGDIR="/tmp/grp/$clst_grp_target"
- emerge --usepkg --buildpkg --noreplace $clst_grp_packages || exit 1
+ emerge --usepkg --buildpkg --noreplace "$clst_grp_packages" || exit 1
else
export DISTDIR="/tmp/grp/$clst_grp_target"
unset PKGDIR
- emerge --fetchonly $clst_grp_packages || exit 1
+ emerge --fetchonly "$clst_grp_packages" || exit 1
fi
EOF
[ $? -ne 0 ] && exit 1